aboutsummaryrefslogtreecommitdiff
path: root/modules/FindSoprano.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindSoprano.cmake')
-rw-r--r--modules/FindSoprano.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/FindSoprano.cmake b/modules/FindSoprano.cmake
index e9d8ce36..77ddfe95 100644
--- a/modules/FindSoprano.cmake
+++ b/modules/FindSoprano.cmake
@@ -209,9 +209,10 @@ if(SOPRANO_INCLUDE_DIR)
endif(SOPRANO_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Soprano DEFAULT_MSG
- SOPRANO_INCLUDE_DIR SOPRANO_LIBRARIES
- ${_SOPRANO_REQUIRED_COMPONENTS_RESULTS} )
+
+find_package_handle_standard_args(Soprano REQUIRED_VARS SOPRANO_INCLUDE_DIR SOPRANO_LIBRARIES
+ _SOPRANO_REQUIRED_COMPONENTS_RESULTS
+ VERSION_VAR SOPRANO_VERSION)
# for compatibility:
set(Soprano_FOUND ${SOPRANO_FOUND})