Merge 93f4cd5f8c into ca6e9f70eb
This commit is contained in:
commit
3bd9c50ed6
@ -5,7 +5,7 @@ project(cxxopts-test)
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
add_subdirectory(../.. cxxopts EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR} cxxopts EXCLUDE_FROM_ALL)
|
||||
|
||||
add_executable(library-test "../../src/example.cpp")
|
||||
add_executable(library-test "${CMAKE_SOURCE_DIR}/src/example.cpp")
|
||||
target_link_libraries(library-test cxxopts)
|
||||
|
||||
@ -7,5 +7,5 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
find_package(cxxopts REQUIRED)
|
||||
|
||||
add_executable(library-test "../../src/example.cpp")
|
||||
add_executable(library-test "${CMAKE_SOURCE_DIR}/src/example.cpp")
|
||||
target_link_libraries(library-test cxxopts::cxxopts)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user