Bläddra i källkod

MSVC compiles in Release Mode, pass build type through yaml-cpp

lagkey
John Daily 6 år sedan
förälder
incheckning
03a55c6c99
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2
    1
      CMake/SuperBuild.cmake

+ 2
- 1
CMake/SuperBuild.cmake Visa fil

@@ -45,7 +45,8 @@ else()
45 45
 		PATCH_COMMAND ""
46 46
     	PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/yaml-cpp
47 47
     	CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX} 
48
-                   -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} 
48
+                   -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
49
+                   -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} 
49 50
     	           -DYAML_CPP_BUILD_TESTS=OFF
50 51
                    -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} 
51 52
 		#INSTALL_COMMAND ""

Laddar…
Avbryt
Spara