mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-20 15:40:50 +00:00
Tell needed compiler features to cmake instead of -std=c++11 flag
This commit is contained in:
parent
6590898a36
commit
c21779adde
4 changed files with 32 additions and 4 deletions
|
@ -15,6 +15,11 @@ target_link_libraries(${PROJECT_NAME}
|
|||
PRIVATE pqtypes
|
||||
)
|
||||
|
||||
target_compile_features(${PROJECT_NAME}
|
||||
PUBLIC cxx_constexpr
|
||||
PUBLIC cxx_alignof
|
||||
)
|
||||
|
||||
#install(TARGETS ${PROJECT_NAME}
|
||||
# LIBRARY DESTINATION lib
|
||||
# RUNTIME DESTINATION bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue