1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

join comments

This commit is contained in:
Lars Melchior 2020-04-14 14:38:51 +02:00
parent 24aa8560db
commit ab406e3f75

View file

@ -35,12 +35,11 @@ CPMAddPackage(
# ---- Create library ----
# Note:
# for single header libraries use `add_library(Greeter INTERFACE)` instead
add_library(Greeter ${headers} ${sources})
# Note: for single header libraries use the following instead:
# Note: for single header libraries create an interface target instead:
# add_library(Greeter INTERFACE)
# set_target_properties(Greeter PROPERTIES INTERFACE_COMPILE_FEATURES cxx_std_17)
add_library(Greeter ${headers} ${sources})
set_target_properties(Greeter PROPERTIES CXX_STANDARD 17)
# Link dependencies (if required)