mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
Update CMakeLists.txt
Co-authored-by: Lars Melchior <TheLartians@users.noreply.github.com>
This commit is contained in:
parent
5e5b4f8178
commit
f76aa76a81
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/source/
|
|||
# ---- Create library ----
|
||||
|
||||
# Note: for header-only libraries change all PUBLIC flags to INTERFACE and create an interface
|
||||
# target! EITHER: add_library(Greeter INTERFACE) OR:
|
||||
# target: add_library(Greeter INTERFACE)
|
||||
add_library(Greeter ${headers} ${sources})
|
||||
|
||||
# EITHER: set_target_properties(Greeter PROPERTIES CXX_STANDARD 17) # OR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue