From 68b432f6c073f58d8643ea4b77d47e4cc39987f5 Mon Sep 17 00:00:00 2001 From: Stinkfist0 Date: Thu, 11 May 2017 17:22:21 +0300 Subject: [PATCH] CMakeLists.txt: fix add_debug_variants() to work on Debug build. Re: #201 [ci skip] --- cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 187a0916e5..993f6ec8d2 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -128,6 +128,7 @@ MESSAGE(STATUS "Boost libraries found in ${Boost_LIBRARY_DIRS}") # make sure the lib variable ends with not just contains it. function(add_debug_variants NAME LIBRARIES POSTFIX) set(LIBRARIES_STR "${LIBRARIES}") + set(LIBRARIES "") # the result, "optimized debug ", needs to be a list instead of a string foreach(lib ${LIBRARIES_STR}) list(APPEND LIBRARIES optimized)