Skip to content

Commit

Permalink
Add nlopt test package (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodfell authored Feb 24, 2020
1 parent 7cdf852 commit 47847e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SwiftCmakeOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ function(verify_test_dependencies)
set(found TRUE)
elseif(${P} STREQUAL "GmockGlobal" AND TARGET gmock-global)
set(found TRUE)
elseif(${P} STREQUAL "Nlopt" AND TARGET nlopt)
set(found TRUE)
endif()
if(NOT found)
message(WARNING "Disable tests because dependency ${P} was not found")
Expand Down

0 comments on commit 47847e7

Please sign in to comment.