We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f524b49 commit 0fc1076Copy full SHA for 0fc1076
CMakeLists.txt
@@ -82,7 +82,6 @@ endif()
82
if(MSVC)
83
# add_definitions(-D_USE_MATH_DEFINES)
84
add_definitions(-DNOMINMAX)
85
- add_compile_options(/permissive-)
86
endif()
87
88
# Look for dependencies
@@ -99,6 +98,9 @@ endif()
99
98
file(GLOB_RECURSE ${PROJECT_NAME}_HEADERS ${PROJECT_SOURCE_DIR}/include/*.hpp)
100
101
add_library(proxsuite INTERFACE)
+if(MSVC)
102
+ target_compile_options(proxsuite INTERFACE /permissive-)
103
+endif(MSVC)
104
target_link_libraries(
105
proxsuite
106
PUBLIC
0 commit comments