We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82174b8 commit d0b6e2cCopy full SHA for d0b6e2c
CMakeLists.txt
@@ -26,4 +26,5 @@ endif()
26
27
# Header-only library
28
add_executable(example src/example.cpp)
29
-target_link_libraries(example PUBLIC tinyopt)
+target_link_libraries(example INTERFACE tinyopt)
30
+target_link_libraries(example PUBLIC Eigen3::Eigen)
README.md
@@ -12,7 +12,8 @@ set(CMAKE_CXX_STANDARD 20) # Minimum is c++17
12
find_package(Tinyopt)
13
14
15
16
+target_link_libraries(example PUBLIC Eigen3::Eigen) # needed, sometimes...
17
```
18
19
### Alternative using `git submodule`
0 commit comments