Skip to content

Commit 1d5dbf9

Browse files
authored
Fix install error for calciumhydroxide example (#281)
Fixes incorrect path causing `make install` to fail. Remove `unittests` target from `make all`
1 parent a74d0eb commit 1d5dbf9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if(ENABLE_FREESASA)
111111
endif()
112112

113113
# target: unittests
114-
add_executable(unittests unittests.cpp ${tsts})
114+
add_executable(unittests EXCLUDE_FROM_ALL unittests.cpp ${tsts})
115115
target_link_libraries(unittests libfaunus)
116116
target_compile_definitions(unittests PRIVATE SPDLOG_COMPILED_LIB)
117117
add_test(
@@ -463,10 +463,8 @@ install(FILES
463463
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide.yml
464464
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide.out.json
465465
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide.state.json
466-
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide_molecular.yml
467-
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide_molecular.out.json
468-
${EXAMPLES_DIR}/calciumhydroxide/calciumhydroxide_molecular.state.json
466+
${EXAMPLES_DIR}/calciumhydroxide_molecular/calciumhydroxide_molecular.yml
467+
${EXAMPLES_DIR}/calciumhydroxide_molecular/calciumhydroxide_molecular.out.json
468+
${EXAMPLES_DIR}/calciumhydroxide_molecular/calciumhydroxide_molecular.state.json
469469
${EXAMPLES_DIR}/water/ewald.yml
470470
DESTINATION share/faunus/examples)
471-
472-

0 commit comments

Comments
 (0)