From 61d11d6996e0bb78555793ad755cd98438185952 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周三, 01 1月 2020 20:22:21 +0800 Subject: [PATCH] add magic number --- src/CMakeLists.txt | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 02e47aa..1c14fc3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,12 @@ -add_subdirectory("library") - #for no reason overwrite it (maybe it's manually customized) + +IF (NOT LCC_PROJECT_MAGIC_NUM) + set(LCC_PROJECT_MAGIC_NUM 0) +ENDIF (NOT LCC_PROJECT_MAGIC_NUM) + 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 +ENDIF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h") + +add_subdirectory("library") \ No newline at end of file -- Gitblit v1.9.1