Commit cd30e3fd authored by Lukáš Tvrdý's avatar Lukáš Tvrdý

Turn off fPIC and fexception only for MSVC

BUG:344892
parent 629a5da3
......@@ -6,7 +6,7 @@ set(GMIC_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/gmic")
include_directories(${GMIC_SOURCE_DIR})
if(CMAKE_COMPILER_IS_GNUCXX)
if(NOT MSVC)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -fPIC")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment