Skip to content

cannot build static library #3621

@christian-rauch

Description

@christian-rauch

Describe the bug
I am unable to build with PDAL_BUILD_STATIC=ON

mkdir build
cd build
cmake .. -DPDAL_BUILD_STATIC=ON

gives me:

CMake Error: install(EXPORT "PDALTargets" ...) includes target "pdal_base" which requires target "pdal_arbiter" that is not in any export set.
CMake Error: install(EXPORT "PDALTargets" ...) includes target "pdal_base" which requires target "pdal_kazhdan" that is not in any export set.
CMake Error in CMakeLists.txt:
  export called with target "pdal_base" which requires target "pdal_arbiter"
  that is not in any export set.


CMake Error in CMakeLists.txt:
  export called with target "pdal_base" which requires target "pdal_kazhdan"
  that is not in any export set.

Expected behavior
PDAL should build static *.a libraries.

System/installation information:

Linux gungnir 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

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