Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

add support for Visual Studio 2017 #283

Merged
merged 1 commit into from
Apr 17, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions connext_cmake_module/cmake/Modules/FindConnext.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,15 @@ function(_find_connext_libraries var library_names basepath)
endif()
endif()
if(match AND WIN32)
string(FIND "${library}" "VS2015/" _found)
if(${_found} EQUAL -1)
set(match FALSE)
set(match FALSE)
string(FIND "${library}" "VS2017/" _found)
if(NOT ${_found} EQUAL -1)
set(match TRUE)
else()
string(FIND "${library}" "VS2015/" _found)
if(NOT ${_found} EQUAL -1)
set(match TRUE)
endif()
endif()
endif()
# keep libraries matching this platform
Expand Down