mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
Fix Beast include directories for cmake targets
This commit is contained in:
committed by
Vinnie Falco
parent
eec5f1d8b6
commit
1c9c87f93c
@ -5,6 +5,7 @@ Version 74:
|
|||||||
* Add file_body
|
* Add file_body
|
||||||
* Remove common/file_body.hpp
|
* Remove common/file_body.hpp
|
||||||
* Add file_posix
|
* Add file_posix
|
||||||
|
* Fix Beast include directories for cmake targets
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -148,9 +148,9 @@ target_link_libraries (${PROJECT_NAME} INTERFACE ${Boost_SYSTEM_LIBRARY})
|
|||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
target_link_libraries (${PROJECT_NAME} INTERFACE Threads::Threads)
|
target_link_libraries (${PROJECT_NAME} INTERFACE Threads::Threads)
|
||||||
endif()
|
endif()
|
||||||
set_property (TARGET ${PROJECT_NAME} PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIRS})
|
|
||||||
set_property (TARGET ${PROJECT_NAME} PROPERTY INTERFACE_SYSTEM_INCLUDE_DIRECTORIES ${Boost_INCLUDE_DIRS})
|
|
||||||
target_compile_definitions (${PROJECT_NAME} INTERFACE BOOST_COROUTINES_NO_DEPRECATION_WARNING=1)
|
target_compile_definitions (${PROJECT_NAME} INTERFACE BOOST_COROUTINES_NO_DEPRECATION_WARNING=1)
|
||||||
|
target_include_directories(${PROJECT_NAME} INTERFACE ${PROJECT_SOURCE_DIR}/include)
|
||||||
|
target_include_directories(${PROJECT_NAME} SYSTEM INTERFACE ${Boost_INCLUDE_DIRS})
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user