From ac7ea79c330d9684e39cb41ef528a1c44eb13616 Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 30 11月 2019 16:20:10 +0800
Subject: [PATCH] update install targets

---
 src/CMakeLists.txt |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 29994bd..02e47aa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,8 +1,7 @@
-add_subdirectory("bootstrap")
 add_subdirectory("library")
 
-IF(Boost_FOUND)
-	add_subdirectory("pc-identifier")
-	add_subdirectory("license-generator")
-ENDIF(Boost_FOUND)
-	
\ No newline at end of file
+#for no reason overwrite it (maybe it's manually customized)
+IF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h")
+	configure_file ("templates/licensecc_properties.h.in" 
+		"${LCC_INCLUDE_DIR}/licensecc_properties.h")
+ENDIF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h")
\ No newline at end of file

--
Gitblit v1.9.1