Skip to content

Commit 0c6e559

Browse files
committed
Try no Eigen
1 parent 2e9be80 commit 0c6e559

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ project(tinyopt-example VERSION 0.0.1
88
set(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
1414
find_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
3131
add_executable(example src/example.cpp)
32-
target_link_libraries(example PUBLIC Eigen3::Eigen tinyopt)
32+
target_link_libraries(example PUBLIC tinyopt)

0 commit comments

Comments
 (0)