When calling find_package(GTSAMCMakeTools), set the variable GTSAM_CMAKE_TOOLS_DIR so that files installed from there can be configured in projects and not only in GTSAM, e.g. dllexport.h.in
parent
e60f21a22f
commit
cace005651
|
@ -1,3 +1,4 @@
|
||||||
# This config file modifies CMAKE_MODULE_PATH so that the GTSAM-CMakeTools files may be included
|
# This config file modifies CMAKE_MODULE_PATH so that the GTSAM-CMakeTools files may be included
|
||||||
|
|
||||||
|
set(GTSAM_CMAKE_TOOLS_DIR "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
|
Loading…
Reference in New Issue