commit b4791c96168123fc7894ea2e9768eee5627955fc
parent d3b5f5900e0b99b9738e82a07d28164f456abc13
Author: fundamental <[email protected]>
Date: Fri, 22 Jul 2016 12:16:27 -0400
Disable Static Build On Linux
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -102,7 +102,9 @@ SET (PluginLibDir "lib" CACHE STRING
# Add version information
add_definitions(-DVERSION="${VERSION}")
-add_definitions(-static)
+if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+ add_definitions(-static)
+endif()
if(NOT "Darwin" STREQUAL ${CMAKE_SYSTEM_NAME})
# Add scheduler function existance info (OSX compatiability)