Skip to content

Commit

Permalink
no file sets
Browse files Browse the repository at this point in the history
  • Loading branch information
timblechmann committed Dec 17, 2023
1 parent 30817e5 commit a860ca7
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ option(BOOST_LOCKFREE_BUILD_TESTS "Build boost::lockfree tests" OFF)
add_library(boost_lockfree INTERFACE)
add_library(Boost::lockfree ALIAS boost_lockfree)

if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.23)
set(Headers
include/boost/lockfree/spsc_queue.hpp
include/boost/lockfree/policies.hpp
include/boost/lockfree/queue.hpp
include/boost/lockfree/lockfree_forward.hpp
include/boost/lockfree/detail/prefix.hpp
include/boost/lockfree/detail/copy_payload.hpp
include/boost/lockfree/detail/tagged_ptr_dcas.hpp
include/boost/lockfree/detail/tagged_ptr.hpp
include/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
include/boost/lockfree/detail/atomic.hpp
include/boost/lockfree/detail/freelist.hpp
include/boost/lockfree/detail/parameter.hpp
include/boost/lockfree/stack.hpp
)
# if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.23)
# set(Headers
# include/boost/lockfree/spsc_queue.hpp
# include/boost/lockfree/policies.hpp
# include/boost/lockfree/queue.hpp
# include/boost/lockfree/lockfree_forward.hpp
# include/boost/lockfree/detail/prefix.hpp
# include/boost/lockfree/detail/copy_payload.hpp
# include/boost/lockfree/detail/tagged_ptr_dcas.hpp
# include/boost/lockfree/detail/tagged_ptr.hpp
# include/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
# include/boost/lockfree/detail/atomic.hpp
# include/boost/lockfree/detail/freelist.hpp
# include/boost/lockfree/detail/parameter.hpp
# include/boost/lockfree/stack.hpp
# )

target_sources(boost_lockfree PUBLIC FILE_SET HEADERS FILES ${Headers} )
endif()
# target_sources(boost_lockfree PUBLIC FILE_SET HEADERS FILES ${Headers} )
# endif()

target_include_directories(boost_lockfree INTERFACE include)

Expand Down

0 comments on commit a860ca7

Please sign in to comment.