3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-22 12:23:41 +01:00

[cmake] Provide target alias app4triqs::app4triqs_c -> app4triqs_c for use as subproject

This commit is contained in:
Nils Wentzell 2020-05-06 15:08:26 -04:00
parent c57c6d734a
commit daaf502102

View File

@ -1,5 +1,6 @@
file(GLOB_RECURSE sources *.cpp)
add_library(app4triqs_c ${sources})
add_library(app4triqs::app4triqs_c ALIAS app4triqs_c)
# Link against triqs and enable warnings
target_link_libraries(app4triqs_c PUBLIC triqs PRIVATE $<BUILD_INTERFACE:app4triqs_warnings>)