Merge pull request #1348 from Azaezel/alpha41/libSupport

suport augs for modules that include full libraries
This commit is contained in:
Areloch 2025-01-07 17:15:28 -06:00 committed by GitHub
commit e503bccb2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 52 additions and 8 deletions

View file

@ -33,7 +33,9 @@ endmacro()
function(installTemplate templateName)
message("Prepare Template(${templateName}) install...")
file(COPY "${CMAKE_SOURCE_DIR}/Templates/${templateName}/" DESTINATION "${TORQUE_APP_ROOT_DIRECTORY}" FILES_MATCHING PATTERN "*.in")
file(COPY "${CMAKE_SOURCE_DIR}/Templates/${templateName}/" DESTINATION "${TORQUE_APP_ROOT_DIRECTORY}" FILES_MATCHING PATTERN "*.cmake")
add_subdirectory("${CMAKE_SOURCE_DIR}/Templates/${templateName}")
endfunction()