diff options
author | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2012-06-15 19:45:51 +0000 |
---|---|---|
committer | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2012-06-15 19:45:51 +0000 |
commit | c17746f9a0d3854c5db93e3a908437d664890759 (patch) | |
tree | f37ae51c4de9a75f8cd05d897087eb5d1300799f /indra | |
parent | 1ac0cd035da14679bf073ebe4231836ecf921aff (diff) |
Hopefully this fixes the mac build.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 4839631096..2887cc1984 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1755,8 +1755,13 @@ if (WINDOWS) #${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/event_host.tar.bz2) endif (PACKAGE) +elseif (DARWIN) + set_target_properties(${VIEWER_BINARY_NAME} + PROPERTIES + LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Wl,--map=${VIEWER_BINARY_NAME}.MAP" + ) else (WINDOWS) - # Linux and Darwin + # Linux set_target_properties(${VIEWER_BINARY_NAME} PROPERTIES LINK_FLAGS_RELEASE "${LINK_FLAGS_RELEASE} -Wl,--Map=${VIEWER_BINARY_NAME}.MAP" |