Skip to content
Snippets Groups Projects
Unverified Commit 4a71049d authored by Justin Carpentier's avatar Justin Carpentier Committed by Joris Vaillant
Browse files

cmake: add MP option for Windows

parent 200cdfea
No related branches found
No related tags found
No related merge requests found
...@@ -243,11 +243,11 @@ endif(SUFFIX_SO_VERSION) ...@@ -243,11 +243,11 @@ endif(SUFFIX_SO_VERSION)
if(NOT WIN32) if(NOT WIN32)
target_compile_options( target_compile_options(
${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj> ${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj -MP>
"-Wno-conversion") "-Wno-conversion")
else() else()
target_compile_options(${PROJECT_NAME} target_compile_options(${PROJECT_NAME}
PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>) PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj -MP>)
target_compile_definitions(${PROJECT_NAME} PUBLIC "HAVE_SNPRINTF") target_compile_definitions(${PROJECT_NAME} PUBLIC "HAVE_SNPRINTF")
endif() endif()
......
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