Skip to content

Commit

Permalink
Link TORQUE_LINK_FRAMEWORKS instead of -framework Cocoa
Browse files Browse the repository at this point in the history
  • Loading branch information
gilzoide committed Apr 19, 2024
1 parent e8f6f91 commit a57c36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ if (TORQUE_DYNAMIC_LIBRARY AND NOT TORQUE_TESTING)
target_compile_definitions(TorqueEngine PUBLIC ${TORQUE_COMPILE_DEFINITIONS})
target_link_libraries(TorqueEngine ${TORQUE_LINK_LIBRARIES})
if (APPLE)
target_link_libraries(TorqueEngine "-framework Cocoa")
target_link_libraries(TorqueEngine ${TORQUE_LINK_FRAMEWORKS})
endif (APPLE)
target_include_directories(TorqueEngine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})

Expand Down

0 comments on commit a57c36c

Please sign in to comment.