From 67d07b08364eb61e3d6df50c0b710566df8d832f Mon Sep 17 00:00:00 2001 From: Matt Woodward Date: Tue, 25 Feb 2020 10:09:29 +1100 Subject: [PATCH] Add nlopt test package --- SwiftCmakeOptions.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SwiftCmakeOptions.cmake b/SwiftCmakeOptions.cmake index b52086b..5a8883d 100644 --- a/SwiftCmakeOptions.cmake +++ b/SwiftCmakeOptions.cmake @@ -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")