1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-01 06:30:52 +02:00

FIXME: the packageProject() makes the problem

so the standalone project does not build!
and the cmake project config files can't be installed this way?
This commit is contained in:
ClausKlein 2021-02-06 11:13:07 +01:00
parent 5f9aa807b9
commit e5c060387e
3 changed files with 18 additions and 13 deletions

View file

@ -27,5 +27,6 @@ add_executable(GreeterStandalone ${sources})
# FIXME: WHY? CK
# set_target_properties(GreeterStandalone PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Greeter")
target_compile_features(GreeterStandalone PUBLIC cxx_std_17)
target_link_libraries(GreeterStandalone Greeter::Greeter cxxopts)
target_link_libraries(GreeterStandalone PRIVATE Greeter::Greeter cxxopts)