diff --git a/CMakeLists.txt b/CMakeLists.txt index b4aed0f..ff7ae92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ cmake_minimum_required(VERSION 3.23) # set the project name project( libcifpp - VERSION 7.0.5 + VERSION 7.0.6 LANGUAGES CXX) list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") @@ -369,7 +369,7 @@ target_include_directories( "$" PRIVATE "${BOOST_REGEX_INCLUDE_DIR}" "${EIGEN_INCLUDE_DIR}") -target_link_libraries(cifpp PUBLIC Threads::Threads ZLIB::ZLIB std::atomic) +target_link_libraries(cifpp PUBLIC Threads::Threads ZLIB::ZLIB $<$:std::atomic>) if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") target_link_options(cifpp PRIVATE -undefined dynamic_lookup) diff --git a/changelog b/changelog index e89d14d..1eb95f5 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,6 @@ +Version 7.0.6 +- Fix linking to std::atomic + Version 7.0.5 - Fix case where category index was not updated for updated value