mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
join comments
This commit is contained in:
parent
24aa8560db
commit
ab406e3f75
1 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue