Commit f566d92d authored by Jane Tournois's avatar Jane Tournois

use CMAKE_CURRENT_BINARY_DIR

when CoMISo is one target, part of a larger project, we want to use
the "current" binary directory, and not the general one, where
everything would be mixed up
parent 57e7f8ff
Pipeline #12822 passed with stages
in 7 minutes and 20 seconds
......@@ -620,7 +620,7 @@ if(NOT COMISO_NO_INSTALL)
PATTERN "Debian*" EXCLUDE)
# Install Config File
install(FILES ${CMAKE_BINARY_DIR}/CoMISo/Config/config.hh
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CoMISo/Config/config.hh
DESTINATION include/CoMISo/Config)
# Create export target to reference CoMISo installation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment