From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001 From: Victor Toofic <toofics@users.noreply.github.com> Date: ćšć, 20 5æ 2021 00:04:08 +0800 Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118) --- src/CMakeLists.txt | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 02e47aa..6c4253f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,10 @@ -add_subdirectory("library") +IF (NOT LCC_PROJECT_MAGIC_NUM) + set(LCC_PROJECT_MAGIC_NUM 0) +ENDIF (NOT LCC_PROJECT_MAGIC_NUM) -#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 +ENDIF(NOT EXISTS "${LCC_INCLUDE_DIR}/licensecc_properties.h") + +add_subdirectory("library") \ No newline at end of file -- Gitblit v1.9.1