Skip to content
Snippets Groups Projects
Commit 985220df authored by Michael Wittig's avatar Michael Wittig
Browse files

move compiler warning prevention to cmakeconfig

parent 83e69f70
Branches
Tags v1.0
No related merge requests found
...@@ -30,11 +30,6 @@ target_include_directories(${CPM_LIB_TARGET_NAME} PUBLIC ...@@ -30,11 +30,6 @@ target_include_directories(${CPM_LIB_TARGET_NAME} PUBLIC
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
) )
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
# disable warning 4715 on visual studio (boost)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4715")
endif()
# add files to source groups to preserve folder structure in visual studio # add files to source groups to preserve folder structure in visual studio
# adapted from: http://goo.gl/Xde41i # adapted from: http://goo.gl/Xde41i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment