fixed some issues
This commit is contained in:
18
Thirdparty/Sophus/CMakeLists.txt
vendored
18
Thirdparty/Sophus/CMakeLists.txt
vendored
@@ -97,17 +97,17 @@ target_compile_features (sophus INTERFACE
|
||||
add_custom_target(other SOURCES ${SOPHUS_OTHER_FILES})
|
||||
|
||||
# Create 'test' make target using ctest
|
||||
option(BUILD_TESTS "Build tests." ON)
|
||||
if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
#option(BUILD_TESTS "Build tests." ON)
|
||||
#if(BUILD_TESTS)
|
||||
# enable_testing()
|
||||
# add_subdirectory(test)
|
||||
#endif()
|
||||
|
||||
# Create examples make targets using ctest
|
||||
option(BUILD_EXAMPLES "Build examples." ON)
|
||||
if(BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
#option(BUILD_EXAMPLES "Build examples." ON)
|
||||
#if(BUILD_EXAMPLES)
|
||||
# add_subdirectory(examples)
|
||||
#endif()
|
||||
|
||||
# Export package for use from the build tree
|
||||
set(SOPHUS_CMAKE_EXPORT_DIR ${CMAKE_INSTALL_DATADIR}/sophus/cmake)
|
||||
|
||||
Reference in New Issue
Block a user