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

release/4.3a0
Richard Roberts 2014-06-01 18:59:03 -04:00
parent e60f21a22f
commit cace005651
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# 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}")