From 84c48e96d15cb38b99eb3409b78883f4862dd9a8 Mon Sep 17 00:00:00 2001 From: Bartek Kryza Date: Fri, 10 Jun 2022 15:40:01 +0200 Subject: [PATCH] Added GNU install dir rules to CMakeLists --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b9f1ee78..d8acf6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,9 +75,7 @@ target_link_libraries(clang-uml ${LIBCLANG_LIBRARIES} ${YAML_CPP_LIBRARIES} cppa target_compile_features(clang-uml PRIVATE cxx_std_17) install( - FILES - # add include after DESTINATION, then it works - DESTINATION include ${CMAKE_INSTALL_INCLUDEDIR} + TARGETS clang-uml DESTINATION ${CMAKE_INSTALL_BINDIR} ) # Enable testing via CTest