Commit: 53d1c4ed051a5a0d15fcc12d7ab3916fa5b77075
Author: TheOnlyJoey
Date:   Thu Mar 17 15:46:48 2016 +0100
Branches: HMD_viewport
https://developer.blender.org/rB53d1c4ed051a5a0d15fcc12d7ab3916fa5b77075

Added compile static to OpenHMD cmake on windows

===================================================================

M       extern/openhmd/CMakeLists.txt

===================================================================

diff --git a/extern/openhmd/CMakeLists.txt b/extern/openhmd/CMakeLists.txt
index 819c487..e94206e 100644
--- a/extern/openhmd/CMakeLists.txt
+++ b/extern/openhmd/CMakeLists.txt
@@ -3,6 +3,10 @@ set(CMAKE_C_FLAGS "-std=c99")
 
 include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
 
+if(WIN32)
+       set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -DOHMD_STATIC)
+endif(WIN32)
+
 #source files set just for Android
 set(openhmd_source_files
        ${CMAKE_CURRENT_LIST_DIR}/src/openhmd.c

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to