Skip to content

Commit 40f1668

Browse files
Merge pull request #14 from wangwenx190/fix-cmake-multiconfig
Fix multi-config CMake build
2 parents 4498885 + 913cd79 commit 40f1668

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

config/config.cmake

+1-8
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ if(NOT CleanImport)
1616
set(CleanImport "false")
1717
endif()
1818

19-
if(${SupportLTL} STREQUAL "true")
20-
if(NOT CMAKE_BUILD_TYPE)
21-
message(WARNING "VC-LTL not load, because CMAKE_BUILD_TYPE is not defined!!!")
22-
set(SupportLTL "false")
23-
endif()
24-
endif()
25-
2619
if(${SupportLTL} STREQUAL "true")
2720
if(NOT CMAKE_SYSTEM_NAME)
2821
message(WARNING "VC-LTL not load, because CMAKE_SYSTEM_NAME is not defined!!!")
@@ -222,4 +215,4 @@ if(${SupportLTL} STREQUAL "true")
222215
set(CMAKE_CREATE_CONSOLE_EXE "${CMAKE_CREATE_CONSOLE_EXE} ${LTL_CMAKE_CREATE_CONSOLE_EXE}")
223216
endif()
224217
endif()
225-
endif()
218+
endif()

0 commit comments

Comments
 (0)