• Guilhem Saurel's avatar
    [CMake] fix Boost use · 40ae6cc5
    Guilhem Saurel authored
    Using both ADD_PROJECT_DEPEDENCY & FIND_PACKAGE for Boost breaks uses of
    ${Boost_LIBRARIES}: only the last call to one ore the other is taken
    into account.
    
    I suggest to use ${Boost_LIBRARIES} for exported ones, and eg.
    ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY} for the private ones.
    40ae6cc5
CMakeLists.txt 4.99 KB