mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-05 16:31:01 +02:00
add version information to standalone. closes #35.
This commit is contained in:
parent
1c4a8d1713
commit
b3551d686f
2 changed files with 6 additions and 1 deletions
|
@ -38,3 +38,4 @@ set_target_properties(GreeterStandalone PROPERTIES
|
|||
)
|
||||
|
||||
target_link_libraries(GreeterStandalone Greeter cxxopts)
|
||||
target_compile_definitions(GreeterStandalone PRIVATE -DGREETER_VERSION=\"${Greeter_VERSION}\")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue