summaryrefslogtreecommitdiff
path: root/indra/llplugin/slplugin/CMakeLists.txt
diff options
context:
space:
mode:
authorsimon <none@none>2013-05-02 15:13:05 -0700
committersimon <none@none>2013-05-02 15:13:05 -0700
commit299433c544d23888169109c2ce5c4807f0d882b4 (patch)
treea12099bb65525113c3107c6292c2d91864c08c30 /indra/llplugin/slplugin/CMakeLists.txt
parent88ae31a3adcdc9fabf45b4a7cf1e53bd08615875 (diff)
Fix the cmake fix
Diffstat (limited to 'indra/llplugin/slplugin/CMakeLists.txt')
-rw-r--r--indra/llplugin/slplugin/CMakeLists.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt
index 5d2b1d922e..20088293ff 100644
--- a/indra/llplugin/slplugin/CMakeLists.txt
+++ b/indra/llplugin/slplugin/CMakeLists.txt
@@ -50,13 +50,21 @@ add_executable(SLPlugin
${SLPlugin_SOURCE_FILES}
)
+if (WINDOWS)
set_target_properties(SLPlugin
PROPERTIES
- MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/slplugin_info.plist
-if (WINDOWS)
LINK_FLAGS_DEBUG "/NODEFAULTLIB:\"LIBCMTD\""
-endif (WINDOWS)
)
+elseif (DARWIN)
+set_target_properties(SLPlugin
+ PROPERTIES
+ MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/slplugin_info.plist
+ )
+else () # LINUX
+set_target_properties(SLPlugin
+ PROPERTIES
+ )
+endif ()
target_link_libraries(SLPlugin
${LLPLUGIN_LIBRARIES}