Skip to content

Commit

Permalink
Merge pull request #14 from wangwenx190/fix-cmake-multiconfig
Browse files Browse the repository at this point in the history
Fix multi-config CMake build
  • Loading branch information
mingkuang-Chuyu authored Nov 23, 2021
2 parents 4498885 + 913cd79 commit 40f1668
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions config/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ if(NOT CleanImport)
set(CleanImport "false")
endif()

if(${SupportLTL} STREQUAL "true")
if(NOT CMAKE_BUILD_TYPE)
message(WARNING "VC-LTL not load, because CMAKE_BUILD_TYPE is not defined!!!")
set(SupportLTL "false")
endif()
endif()

if(${SupportLTL} STREQUAL "true")
if(NOT CMAKE_SYSTEM_NAME)
message(WARNING "VC-LTL not load, because CMAKE_SYSTEM_NAME is not defined!!!")
Expand Down Expand Up @@ -222,4 +215,4 @@ if(${SupportLTL} STREQUAL "true")
set(CMAKE_CREATE_CONSOLE_EXE "${CMAKE_CREATE_CONSOLE_EXE} ${LTL_CMAKE_CREATE_CONSOLE_EXE}")
endif()
endif()
endif()
endif()

0 comments on commit 40f1668

Please sign in to comment.