Ver código fonte

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

lagkey
John Daily 6 anos atrás
pai
commit
03a55c6c99
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      CMake/SuperBuild.cmake

+ 2
- 1
CMake/SuperBuild.cmake Ver arquivo

@@ -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 ""

Carregando…
Cancelar
Salvar