Update CMakeLists.txt

Skip adding properties to precompiled libs
This commit is contained in:
marauder2k7 2025-09-23 14:31:15 +01:00
parent eb380e58a3
commit e55247e015

View file

@ -497,6 +497,10 @@ endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
foreach (TORQUE_LIBRARY ${TORQUE_LINK_LIBRARIES})
# Skip if it's a raw library file instead of a target
if(TORQUE_LIBRARY MATCHES "\\.(lib|a|so|dylib|dll)$")
continue()
endif()
set_target_properties(${TORQUE_LIBRARY} PROPERTIES
FOLDER "Libraries")
# remove warnings from 3rd parties.