Skip to content

Commit

Permalink
Cmake (mac build): favor frameworks over unix libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradallred committed Jan 23, 2012
1 parent 52ffcdb commit 3803590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ if (NOT LAYOUT)
set(LAYOUT "home")
elseif (APPLE)
set(LAYOUT "library")
# favor mac frameworks over unix libraries
set(CMAKE_FIND_FRAMEWORK FIRST)
else (APPLE)
set(LAYOUT "fhs")
endif (WIN32)
Expand Down

0 comments on commit 3803590

Please sign in to comment.