File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed
Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -42,29 +42,7 @@ On Linux you can run either of the two build scripts:
4242---
4343## 3. Including in your project
4444
45- Add a ` find_package ` directive to your project's ` CMakeLists.txt ` file, e.g.:
46-
47- ``` CMake
48- find_package( Carna REQUIRED )
49- include_directories( ${CARNA_INCLUDE_DIR} )
50- ```
51-
52- If you need to put a constraint on the version, use ` find_package(Carna 3.1.0 REQUIRED) `
53- to pick a package with a version * compatible* to 3.1.0,
54- or use ` find_package(Carna 3.1.0 EXACT REQUIRED) ` to pick a package by the exact version.
55-
56- You also need to add the headers (usually * only* the headers) from Eigen:
57-
58- ``` CMake
59- find_package( Eigen3 REQUIRED )
60- include_directories( ${EIGEN3_INCLUDE_DIR} )
61- ```
62-
63- Finally add Carna to the linking stage:
64-
65- ``` CMake
66- target_link_libraries( ${TARGET_NAME} ${SOME_OTHER_LIBRARIES} ${CARNA_LIBRARIES} )
67- ```
45+ See * test_cmake/CMakeLists.txt* as a starting point.
6846
6947---
7048## 4. See also
You can’t perform that action at this time.
0 commit comments