library containment:

after execution of found cmakelists.txt files, searh the engine/lib and apname/data directories recursively for a *torque_postbuild.cmake file, including the contents, to ensure any values used, such as TORQUE_LINK_LIBRARIES remain in parent scope
This commit is contained in:
AzaezelX 2023-06-06 19:32:58 -05:00
parent 3ef60ffcb6
commit 9f01515e78
9 changed files with 69 additions and 47 deletions

View file

@ -6,6 +6,4 @@
add_library(libogg ${LIBOGG_FILES})
set_target_properties(libogg PROPERTIES LINKER_LANGUAGE CXX)
target_include_directories(libogg PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
set(TORQUE_INCLUDE_DIRECTORIES ${TORQUE_INCLUDE_DIRECTORIES} "${CMAKE_CURRENT_SOURCE_DIR}/include")
#set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} libogg)
#endif()

View file

@ -0,0 +1 @@
set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} libogg)