Skip to content
Snippets Groups Projects
Commit 6978ce0d authored by Martin Wölzer's avatar Martin Wölzer
Browse files

cmake/sanitizer.cmake: fixed to be CMake 3.8 compliant

parent 259b128f
No related branches found
No related tags found
1 merge request!3Master martin cmake fix
......@@ -21,7 +21,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang
list(APPEND libClaPP_SANITIZERS "thread")
endif()
list(JOIN libClaPP_SANITIZERS "," libClaPP_LIST_OF_SANITIZERS)
set(libClaPP_LIST_OF_SANITIZERS ${libClaPP_SANITIZERS})
string(REPLACE ";" "," libClaPP_LIST_OF_SANITIZERS "${libClaPP_LIST_OF_SANITIZERS}")
endif()
if(libClaPP_LIST_OF_SANITIZERS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment