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

Commit

Permalink
add support for Visual Studio 2017 (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas authored Apr 17, 2018
1 parent 6f36f6e commit fab9ef7
Showing 1 changed file with 9 additions and 3 deletions.
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

0 comments on commit fab9ef7

Please sign in to comment.