We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0682c commit 2ad19ecCopy full SHA for 2ad19ec
CMakeLists.txt
@@ -68,7 +68,13 @@ include(${ROOT_USE_FILE})
68
#######
69
# VMC #
70
71
-find_package(VMC CONFIG REQUIRED)
+find_package(VMC CONFIG)
72
+if(NOT VMC_FOUND)
73
+ if(NOT ROOT_vmc_FOUND)
74
+ message(FATAL_ERROR "Could neither find VMC standalone nor ROOT's builtin")
75
+ endif()
76
+ add_library(VMCLibrary ALIAS ROOT::VMC)
77
+endif()
78
79
#########
80
# Boost #
0 commit comments