mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update CMakeLists.txt
Skip adding properties to precompiled libs
This commit is contained in:
parent
eb380e58a3
commit
e55247e015
1 changed files with 4 additions and 0 deletions
|
|
@ -497,6 +497,10 @@ endif()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
foreach (TORQUE_LIBRARY ${TORQUE_LINK_LIBRARIES})
|
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
|
set_target_properties(${TORQUE_LIBRARY} PROPERTIES
|
||||||
FOLDER "Libraries")
|
FOLDER "Libraries")
|
||||||
# remove warnings from 3rd parties.
|
# remove warnings from 3rd parties.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue