1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-23 16:10:51 +00:00

Tell needed compiler features to cmake instead of -std=c++11 flag

This commit is contained in:
King_DuckZ 2016-04-26 19:53:19 +02:00
parent 6590898a36
commit c21779adde
4 changed files with 32 additions and 4 deletions

View file

@ -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