mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Require C++17 in CMakeLists.txt
This commit is contained in:
parent
1efb979e47
commit
f952966967
@ -5,7 +5,7 @@ project(Tracy LANGUAGES CXX)
|
||||
find_package(Threads REQUIRED)
|
||||
|
||||
add_library(TracyClient TracyClient.cpp)
|
||||
target_compile_features(TracyClient PUBLIC cxx_std_11)
|
||||
target_compile_features(TracyClient PUBLIC cxx_std_17)
|
||||
target_include_directories(TracyClient SYSTEM PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||
$<INSTALL_INTERFACE:include>)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user