mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
CMake: Revert VERSION option to single value arg
This fixes a regression introduced in 0ff8eaf
that caused other options
to be ineffective in certain cases.
Resolves #164
This commit is contained in:
parent
465d90924b
commit
187a821f36
|
@ -324,7 +324,7 @@ endmacro()
|
|||
# COMPONENTS and VERSION args are then just passed to the native find_package.
|
||||
#
|
||||
macro(find_package2 qualifier pkgname)
|
||||
cmake_parse_arguments(ARGS "" "" "VERSION;COMPONENTS;ADD_REQUIREMENTS_OF" ${ARGN})
|
||||
cmake_parse_arguments(ARGS "" "VERSION" "COMPONENTS;ADD_REQUIREMENTS_OF" ${ARGN})
|
||||
|
||||
string(TOUPPER ${pkgname} pkgname_upper)
|
||||
set(__old_cpp__ ${CMAKE_PREFIX_PATH})
|
||||
|
|
Loading…
Reference in New Issue
Block a user