cmake fix for windows debug build

Signed-off-by: raver119 <raver119@gmail.com>
master
raver119 2019-08-26 08:13:22 +03:00
parent d607bec6f9
commit daf5420f4c
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ elseif(CPU_BLAS)
endif() endif()
endif() endif()
if (CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT(APPLE)) if (CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT(APPLE) AND NOT(WIN32))
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -rdynamic -Wl,-export-dynamic") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -rdynamic -Wl,-export-dynamic")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -export-dynamic") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -export-dynamic")
endif() endif()