From daaf5021022aee492719e58deb2958283aee54f3 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Wed, 6 May 2020 15:08:26 -0400 Subject: [PATCH] [cmake] Provide target alias app4triqs::app4triqs_c -> app4triqs_c for use as subproject --- c++/app4triqs/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/c++/app4triqs/CMakeLists.txt b/c++/app4triqs/CMakeLists.txt index 7ff1f9c6..58f04dab 100644 --- a/c++/app4triqs/CMakeLists.txt +++ b/c++/app4triqs/CMakeLists.txt @@ -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 $)