Skip to content

Commit

Permalink
Make h5md a private target source (#3710)
Browse files Browse the repository at this point in the history
Fixes the build system, that recompiled the `h5md_core.cpp.o` object file 46 times at every rebuild.
  • Loading branch information
kodiakhq[bot] authored May 10, 2020
2 parents 6edf3da + 64cabbb commit 7bd69f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/io/writer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
target_sources(
EspressoCore
PUBLIC "$<$<BOOL:${H5MD}>:${CMAKE_CURRENT_SOURCE_DIR}/h5md_core.cpp>")
PRIVATE "$<$<BOOL:${H5MD}>:${CMAKE_CURRENT_SOURCE_DIR}/h5md_core.cpp>")

0 comments on commit 7bd69f1

Please sign in to comment.