File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ project(tinyopt-example VERSION 0.0.1
88set (CMAKE_CXX_STANDARD 20)
99
1010# Import Eigen (Mandatory)
11- find_package (Eigen3 REQUIRED NO_MODULE)
11+ # find_package(Eigen3 REQUIRED NO_MODULE)
1212
1313# Find Tinyopt, fetch it if not found
1414find_package (Tinyopt)
@@ -19,7 +19,7 @@ if (NOT Tinyopt_FOUND)
1919 FetchContent_Declare(
2020 tinyopt
2121 GIT_REPOSITORY https://github.com/julien-michot/tinyopt.git
22- GIT_TAG main
22+ GIT_TAG fix/ target - include
2323 GIT_SHALLOW TRUE
2424 GIT_PROGRESS TRUE
2525 )
@@ -29,4 +29,4 @@ endif()
2929
3030# Header-only library
3131add_executable (example src/example.cpp)
32- target_link_libraries (example PUBLIC Eigen3::Eigen tinyopt)
32+ target_link_libraries (example PUBLIC tinyopt)
You can’t perform that action at this time.
0 commit comments