Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost::serialization seems to be a hard dependency, but cmake configure passes without #325

Open
mbanck opened this issue Jan 2, 2022 · 0 comments

Comments

@mbanck
Copy link

mbanck commented Jan 2, 2022

I got cmake configure to pass, but then bail out at generate:

-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.33")  
-- Performing Test BOOST_COMPILES
-- Performing Test BOOST_COMPILES - Success
[...]
-- The following REQUIRED packages have been found:

 * Threads
 * boost_headers (required version == 1.74.0)
 * Boost (required version >= 1.33)
[...]
-- Configuring done
[...]
CMake Error at src/CMakeLists.txt:229 (add_library):
  Target "tiledarray" links to target "Boost::serialization" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?

CMakeCache has:

//The directory containing a CMake configuration file for boost_serialization.
boost_serialization_DIR:PATH=boost_serialization_DIR-NOTFOUND

So I think there should be a stricter check for boost::serialization (or the generation should be changed, if that is not required).

When I install the corresponding Debian package, cmake runs fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant