From 65454077a8c63b50adda4e8c6095c8f00675c4d2 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 08 3月 2020 21:45:16 +0800 Subject: [PATCH] Merge branch 'feature/pc_identifiers' of https://github.com/open-license-manager/open-license-manager.git into feature/pc_identifiers --- src/CMakeLists.txt | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a52052a..1c14fc3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,9 +1,12 @@ +#for no reason overwrite it (maybe it's manually customized) -add_subdirectory("bootstrap") -add_subdirectory("library") +IF (NOT LCC_PROJECT_MAGIC_NUM) + set(LCC_PROJECT_MAGIC_NUM 0) +ENDIF (NOT LCC_PROJECT_MAGIC_NUM) -IF(Boost_FOUND) - add_subdirectory("pc-identifier") - add_subdirectory("license-generator") -ENDIF(Boost_FOUND) - \ No newline at end of file +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") + +add_subdirectory("library") \ No newline at end of file -- Gitblit v1.9.1