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.
1 parent 397066c commit e8f6f91Copy full SHA for e8f6f91
1 file changed
Engine/source/CMakeLists.txt
@@ -372,6 +372,9 @@ if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
372
add_library(TorqueEngine SHARED ${TORQUE_SOURCE_FILES})
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")
377
+ endif (APPLE)
378
target_include_directories(TorqueEngine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
379
380
set(TORQUE_SOURCE_FILES "main/main.cpp")
0 commit comments