mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Merge pull request #300 from Krzmbrzl/patch-2
CMake: Mark include directories as SYSTEM
This commit is contained in:
commit
f207f2abd4
@ -6,7 +6,7 @@ find_package(Threads REQUIRED)
|
|||||||
|
|
||||||
add_library(TracyClient TracyClient.cpp)
|
add_library(TracyClient TracyClient.cpp)
|
||||||
target_compile_features(TracyClient PUBLIC cxx_std_11)
|
target_compile_features(TracyClient PUBLIC cxx_std_11)
|
||||||
target_include_directories(TracyClient PUBLIC
|
target_include_directories(TracyClient SYSTEM PUBLIC
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||||
$<INSTALL_INTERFACE:include>)
|
$<INSTALL_INTERFACE:include>)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
@ -73,4 +73,4 @@ install(FILES ${includes}
|
|||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
install(EXPORT TracyConfig
|
install(EXPORT TracyConfig
|
||||||
FILE TracyConfig.cmake
|
FILE TracyConfig.cmake
|
||||||
DESTINATION share/Tracy)
|
DESTINATION share/Tracy)
|
||||||
|
Loading…
Reference in New Issue
Block a user