forked from boostorg/exception
Merge pull request #20 from Mike-Devel/min_cmake
[CMake] Fix PUBLIC/INTERFACE mixup
This commit is contained in:
@ -15,7 +15,7 @@ project( BoostException LANGUAGES CXX )
|
|||||||
add_library( boost_exception INTERFACE )
|
add_library( boost_exception INTERFACE )
|
||||||
add_library( Boost::exception ALIAS boost_exception )
|
add_library( Boost::exception ALIAS boost_exception )
|
||||||
|
|
||||||
target_include_directories( boost_exception PUBLIC include )
|
target_include_directories( boost_exception INTERFACE include )
|
||||||
|
|
||||||
target_link_libraries( boost_exception
|
target_link_libraries( boost_exception
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
Reference in New Issue
Block a user