Skip to content

Cmake Error on AlmaLinux 9 #224

@mholtrop

Description

@mholtrop

Simple issue when running cmake on AlmaLinux 9:

-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LCIO: /net/data/gourd/HPS/sw/lib/liblcio.so;/net/data/gourd/HPS/sw/lib/libsio.so
-- Found Python3: /net/data/endeavour2/Tools/miniconda3/envs/T/bin/python3.12 (found version "3.12.12") found components: Interpreter Development Development.Module Development.Embed
-- Python executable found at: /net/data/endeavour2/Tools/miniconda3/envs/T/bin/python3.12
-- Python lib found at: /net/data/endeavour2/Tools/miniconda3/envs/T/lib/libpython3.12.so
-- Python include dir found at: /net/data/endeavour2/Tools/miniconda3/envs/T/include/python3.12
-- Found Vdt: /net/data/endeavour2/Tools/root-master-gcc11.5.0/include/root (found version "0.4")
-- ROOT found at: /net/data/endeavour2/Tools/root-master-gcc11.5.0/share/root/cmake
-- Adding module: event
CMake Error at /net/data/endeavour2/Tools/root-master-gcc11.5.0/share/root/cmake/RootMacros.cmake:716 (target_link_libraries):
The plain signature for target_link_libraries has already been used with
the target "event". All uses of target_link_libraries with a target must
be either all-keyword or all-plain.

The uses of the plain signature are here:

  • cmake/Modules/MacroModule.cmake:102 (target_link_libraries)

Call Stack (most recent call first):
event/CMakeLists.txt:10 (root_generate_dictionary)

-- Adding module: analysis
-- Adding module: utils
-- Adding module: processing
-- Adding module: processors
-- hpstr will be installed to: /net/data/gourd/HPS/sw
-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions