|
@@ -70,7 +70,8 @@ ExternalProject_Add(YAML-CPP
|
70
|
70
|
UPDATE_COMMAND ""
|
71
|
71
|
PATCH_COMMAND ""
|
72
|
72
|
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/yaml-cpp
|
73
|
|
- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX} -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
|
|
73
|
+ CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX} -DBUILD_SHARED_LIBS=ON -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS} /
|
|
74
|
+ -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
|
74
|
75
|
)
|
75
|
76
|
add_compile_options(-DHAVE_YAMLCPP)
|
76
|
77
|
|