From b0c9c185f38c6bfc41a1d60e60aac1f7e79429dc Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 01 12月 2019 14:24:31 +0800 Subject: [PATCH] fix mingw --- src/CMakeLists.txt | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fb0f844..02e47aa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,7 @@ add_subdirectory("library") - - \ 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