mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 13:41:13 +02:00
Update cxxopts version too
link alias target cxxopts::cxxopts
This commit is contained in:
parent
dbce1b7392
commit
41152efc02
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ include(../cmake/CPM.cmake)
|
|||
|
||||
CPMAddPackage(
|
||||
GITHUB_REPOSITORY jarro2783/cxxopts
|
||||
VERSION 3.0.0
|
||||
VERSION 3.1.1
|
||||
OPTIONS "CXXOPTS_BUILD_EXAMPLES NO" "CXXOPTS_BUILD_TESTS NO" "CXXOPTS_ENABLE_INSTALL YES"
|
||||
)
|
||||
|
||||
|
@ -30,4 +30,4 @@ add_executable(${PROJECT_NAME} ${sources})
|
|||
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 17 OUTPUT_NAME "Greeter")
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts)
|
||||
target_link_libraries(${PROJECT_NAME} Greeter::Greeter cxxopts::cxxopts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue