use the switch
parent
2aa22005f1
commit
c00de92854
|
@ -147,7 +147,7 @@ if (GTSAM_USE_EIGEN_MKL)
|
|||
target_include_directories(gtsam PUBLIC ${MKL_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
if (GPERFTOOLS_FOUND)
|
||||
if (GTSAM_ENABLE_GPERFTOOLS AND GPERFTOOLS_FOUND)
|
||||
target_link_libraries(gtsam PRIVATE ${GPERFTOOLS_TCMALLOC} ${GPERFTOOLS_PROFILER})
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue