Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-07-15 20:13:52 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-07-15 20:13:52 +0300
commit0a8640681b87d478506a174b3a5546dbc3da2607 (patch)
tree2516a18461e7c19e9ef47ae64d0170b8ec1b1021 /cmake
parent8d973a32e77eac0d2e1c7e563aca7aeef2c3d87a (diff)
Significantly improve support for LLVM-vs2014 toolset
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QuickCppLibBootstrap.cmake9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmake/QuickCppLibBootstrap.cmake b/cmake/QuickCppLibBootstrap.cmake
index bf61c540..ab74272e 100644
--- a/cmake/QuickCppLibBootstrap.cmake
+++ b/cmake/QuickCppLibBootstrap.cmake
@@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
# If necessary bring in the quickcpplib cmake tooling
-list(FIND CMAKE_MODULE_PATH "quickcpplib/cmakelib" quickcpplib_idx)
-if(${quickcpplib_idx} EQUAL -1)
+set(quickcpplib_done OFF)
+foreach(item ${CMAKE_MODULE_PATH})
+ if(item MATCHES "quickcpplib/cmakelib")
+ set(quickcpplib_done ON)
+ endif()
+endforeach()
+if(NOT quickcpplib_done)
# CMAKE_SOURCE_DIR is the very topmost parent cmake project
# CMAKE_CURRENT_SOURCE_DIR is the current cmake subproject