Use MSVC instead of WIN32 in CMake

This commit is contained in:
Sebastian Messmer 2018-09-15 15:20:22 -07:00
parent a8076520ff
commit d1273677a5

View File

@ -59,7 +59,7 @@ find_package(CURL REQUIRED)
target_include_directories(${PROJECT_NAME} PUBLIC ${CURL_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PUBLIC ${CURL_LIBRARIES})
if(NOT WIN32)
if(NOT MSVC)
find_package(Backtrace REQUIRED)
target_include_directories(${PROJECT_NAME} PUBLIC ${Backtrace_INCLUDE_DIRS})
target_link_libraries(${PROJECT_NAME} PUBLIC ${Backtrace_LIBRARIES})