Skip to content
Snippets Groups Projects
Commit 3de044cf authored by Jeremie Deray's avatar Jeremie Deray
Browse files

add _WOLF_ROOT_DIR that points to wolf root directory

parent a7ad4c53
No related branches found
No related tags found
1 merge request!96Wolf macro cmake conftime
This commit is part of merge request !96. Comments created here will be created in the context of that merge request.
......@@ -16,6 +16,13 @@ ENDIF()
option(BUILD_EXAMPLES "Build examples" ON)
# Does this has any other interest
# but for the examples ?
#IF(BUILD_EXAMPLES)
set(_WOLF_ROOT_DIR ${CMAKE_SOURCE_DIR})
#ENDIF(BUILD_EXAMPLES)
#find dependencies.
FIND_PACKAGE(Eigen 3 REQUIRED)
......
......@@ -29,4 +29,6 @@
#cmakedefine _WOLF_DEBUG
#define _WOLF_ROOT_DIR "${_WOLF_ROOT_DIR}"
#endif /* WOLF_INTERNAL_CONFIG_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment