diff options
author | Milo Yip <miloyip@gmail.com> | 2016-03-31 10:02:03 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2016-03-31 10:02:03 +0300 |
commit | 2418d7cd91a2b8c5a7e19f3656e57ead051538b1 (patch) | |
tree | 4254f3190c9a18100b501b9e1c2bd2eb42bf25fe | |
parent | d7df1f26ba56922aed0bcdb2b39cf46bd78e36c6 (diff) |
Fix cmake
-rw-r--r-- | test/unittest/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unittest/CMakeLists.txt b/test/unittest/CMakeLists.txt index ff49bb94..f1918ccf 100644 --- a/test/unittest/CMakeLists.txt +++ b/test/unittest/CMakeLists.txt @@ -53,7 +53,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") # Force to always compile with /WX if(CMAKE_CXX_FLAGS MATCHES "/WX-") - string(REGEX REPLACE "/WX-" "/WX" CMAKE_CXX_FLAGS + string(REGEX REPLACE "/WX-" "/WX" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX") endif() |