mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 18:16:03 +01:00
[cmake] Provide target alias app4triqs::app4triqs_c -> app4triqs_c for use as subproject
This commit is contained in:
parent
c57c6d734a
commit
daaf502102
@ -1,5 +1,6 @@
|
|||||||
file(GLOB_RECURSE sources *.cpp)
|
file(GLOB_RECURSE sources *.cpp)
|
||||||
add_library(app4triqs_c ${sources})
|
add_library(app4triqs_c ${sources})
|
||||||
|
add_library(app4triqs::app4triqs_c ALIAS app4triqs_c)
|
||||||
|
|
||||||
# Link against triqs and enable warnings
|
# Link against triqs and enable warnings
|
||||||
target_link_libraries(app4triqs_c PUBLIC triqs PRIVATE $<BUILD_INTERFACE:app4triqs_warnings>)
|
target_link_libraries(app4triqs_c PUBLIC triqs PRIVATE $<BUILD_INTERFACE:app4triqs_warnings>)
|
||||||
|
Loading…
Reference in New Issue
Block a user