We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TORQUE_LINK_FRAMEWORKS
-framework Cocoa
1 parent e8f6f91 commit 735fe41Copy full SHA for 735fe41
1 file changed
Engine/source/CMakeLists.txt
@@ -373,7 +373,7 @@ if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
373
target_compile_definitions(TorqueEngine PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
374
target_link_libraries(TorqueEngine ${TORQUE_LINK_LIBRARIES})
375
if (APPLE)
376
- target_link_libraries(TorqueEngine "-framework Cocoa")
+ target_link_libraries(TorqueEngine ${TORQUE_LINK_FRAMEWORKS})
377
endif (APPLE)
378
target_include_directories(TorqueEngine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
379
0 commit comments