File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ SET(PROJECT_DESCRIPTION "Python bindings for CppAD and CppADCodeGen using Boost.
99SET (PROJECT_URL "https://github.com/simple-robotics/pycppad" )
1010SET (PROJECT_CUSTOM_HEADER_EXTENSION "hpp" )
1111SET (PROJECT_USE_CMAKE_EXPORT TRUE )
12- set (PROJECT_AUTO_RUN_FINALIZE FALSE )
12+ # To enable jrl-cmakemodules compatibility with workspace we must define the two
13+ # following lines
14+ SET (PROJECT_AUTO_RUN_FINALIZE FALSE )
15+ SET (PROJECT_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR} )
1316
1417
1518# Project configuration
@@ -18,7 +21,7 @@ SET(CMAKE_VERBOSE_MAKEFILE TRUE)
1821SET (CXX_DISABLE_WERROR TRUE )
1922
2023# Check if the submodule cmake have been initialized
21- set (JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR} /cmake" )
24+ SET (JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR} /cmake" )
2225IF (NOT EXISTS "${JRL_CMAKE_MODULES} /base.cmake" )
2326 MESSAGE (FATAL_ERROR "\n Please run the following command first:\n git submodule update --init\n " )
2427ENDIF ()
You can’t perform that action at this time.
0 commit comments