Skip to content
Snippets Groups Projects
Commit 3bc2025e authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

CMake for Win: /wd4068 (pragma clang)

parent bb52d03e
No related branches found
No related tags found
1 merge request!234Get rid of various warnings
Pipeline #42385 passed
......@@ -11,7 +11,7 @@ endif()
add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY=1)
message(STATUS "Disabling static align for Eigen")
string(APPEND CMAKE_CXX_FLAGS " /MD /MP /D_USE_MATH_DEFINES /wd4005 /wd4244 -I${CMAKE_SOURCE_DIR}/Wrap -FIw32pragma.h")
string(APPEND CMAKE_CXX_FLAGS " /MD /MP /D_USE_MATH_DEFINES /wd4005 /wd4068 /wd4244 -I${CMAKE_SOURCE_DIR}/Wrap -FIw32pragma.h")
string(APPEND CMAKE_SHARED_LINKER_FLAGS
" /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:msvcrtd.lib")
......
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