Use MSVC instead of WIN32 in CMake
This commit is contained in:
parent
a8076520ff
commit
d1273677a5
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user