Skip to content

Commit

Permalink
Update torque_macros.cmake
Browse files Browse the repository at this point in the history
since this is showing in the cmake gui may as well make it unique for each framework..
  • Loading branch information
marauder2k7 committed Aug 4, 2024
1 parent 02de516 commit 0374da0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/CMake/torque_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ endmacro (filterOut)
################# apple frameworks ###################
macro(addFramework framework)
if (APPLE)
find_library(FRAMEWORK_PATH ${framework} PATHS /System/Library/Frameworks /Library/Frameworks)
set(TORQUE_LINK_FRAMEWORKS ${TORQUE_LINK_FRAMEWORKS} "${FRAMEWORK_PATH}/${framework}.framework")
find_library(_${framework}_FRAMEWORK_PATH ${framework} PATHS /System/Library/Frameworks /Library/Frameworks)
set(TORQUE_LINK_FRAMEWORKS ${TORQUE_LINK_FRAMEWORKS} "_${framework}_FRAMEWORK_PATH/${framework}.framework")
endif()
endmacro()

0 comments on commit 0374da0

Please sign in to comment.