Use absolute path to example file
This commit is contained in:
parent
ca6e9f70eb
commit
819492e080
@ -7,5 +7,5 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
find_package(cxxopts REQUIRED)
|
||||
|
||||
add_executable(library-test "../../src/example.cpp")
|
||||
add_executable(library-test "${PROJECT_SOURCE_DIR}/src/example.cpp")
|
||||
target_link_libraries(library-test cxxopts::cxxopts)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user