mirror of https://github.com/AxioDL/lzokay.git
Use the official way to set the C++ standard
https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html It may also work in newer version of MSVC
This commit is contained in:
parent
671e2b9864
commit
43d3639dbd
|
@ -8,6 +8,8 @@ target_include_directories(lzokay PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURC
|
|||
target_link_libraries(lzokaytest lzokay)
|
||||
target_compile_features(lzokay PRIVATE cxx_std_14)
|
||||
target_compile_features(lzokaytest PRIVATE cxx_std_14)
|
||||
set_target_properties(lzokay PROPERTIES CXX_STANDARD 14)
|
||||
set_target_properties(lzokaytest PROPERTIES CXX_STANDARD 14)
|
||||
|
||||
# Set installation for headers
|
||||
install(
|
||||
|
|
Loading…
Reference in New Issue