From 72555a6569db7ae977fa80aac42b900d96ffdb6d Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周一, 04 5月 2020 11:20:41 +0800 Subject: [PATCH] older version of boost seem have issues with arguments containing commas --- src/CMakeLists.txt | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 29994bd..6c4253f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,10 @@ -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