1
0
Fork 0
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:
Claus Klein 2021-02-16 12:42:20 +01:00 committed by GitHub
parent 5e5b4f8178
commit f76aa76a81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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