mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 12:23:41 +01:00
[cmake] Disable setting c++ standard using target_compile_features
This commit is contained in:
parent
fbe3f2fa0a
commit
909a772205
@ -7,7 +7,6 @@ target_link_libraries(${PROJECT_NAME}_c PUBLIC triqs PRIVATE $<BUILD_INTERFACE:$
|
||||
|
||||
# Configure target and compilation
|
||||
set_property(TARGET ${PROJECT_NAME}_c PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
target_compile_features(${PROJECT_NAME}_c PUBLIC cxx_std_17) # CAUTION! Does not seem to work with extract_flags.cmake ..
|
||||
target_include_directories(${PROJECT_NAME}_c PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/c++>)
|
||||
target_include_directories(${PROJECT_NAME}_c SYSTEM INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>)
|
||||
target_compile_definitions(${PROJECT_NAME}_c PUBLIC
|
||||
|
Loading…
Reference in New Issue
Block a user