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