forked from Expander/FlexibleSUSY
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interface target for config header
for initial attempt to get a working build
- Loading branch information
Dylan Harries
committed
Jan 27, 2018
1 parent
cc67b06
commit 52895a4
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
string(TIMESTAMP DATE "%a %d %b %Y %H:%M:%SZ UTC" UTC) | ||
|
||
configure_file(config_cmake.h.in config.h) | ||
|
||
add_library(config INTERFACE) | ||
target_include_directories(config INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
add_library(FlexibleSUSY::config ALIAS config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters