We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6571a06 commit ecd0aefCopy full SHA for ecd0aef
1 file changed
CMakeLists.txt
@@ -114,7 +114,9 @@ if(CROW_USE_BOOST)
114
if(Boost_VERSION VERSION_LESS 1.89)
115
find_package(Boost 1.64 COMPONENTS system REQUIRED)
116
else()
117
- add_library(Boost::system ALIAS Boost::headers)
+ if(NOT TARGET Boost::system)
118
+ add_library(Boost::system ALIAS Boost::headers)
119
+ endif()
120
endif()
121
target_link_libraries(Crow
122
INTERFACE
0 commit comments