Skip to content

Commit 14c9017

Browse files
committed
install yaml .mod under include/yaml
1 parent 871ec3b commit 14c9017

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ endforeach(institute)
220220
if(NOT TARGET yaml)
221221
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/yaml" yaml EXCLUDE_FROM_ALL)
222222
set_property(TARGET yaml PROPERTY FOLDER fabm/yaml)
223+
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/yaml/modules/\${BUILD_TYPE}/ DESTINATION include/yaml)
223224
endif(NOT TARGET yaml)
224225

225226
add_library(fabm

0 commit comments

Comments
 (0)