Skip to content

Commit

Permalink
This should make appveyor happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsbore committed Sep 19, 2019
1 parent 30d775d commit e64642b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ build_script:
-DAUVLIB_WITH_GSF=OFF
-DAUVLIB_USE_LIBIGL_GLFW=ON
-DAUVLIB_USE_LIBIGL_TINYXML=ON
-DAUVLIB_EXPORT_BUILD=OFF
-DCMAKE_SKIP_INSTALL_RULES=true
../
#-DCMAKE_INSTALL_PREFIX=../install
Expand Down
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ option(AUVLIB_USE_LIBIGL_EIGEN "Use libigl's version of Eigen" ON)
option(AUVLIB_USE_LIBIGL_GLFW "Use libigl's version of glfw" OFF)
option(AUVLIB_USE_LIBIGL_TINYXML "Use libigl's version of tinyxml" OFF)
option(AUVLIB_USE_PYTHON3 "Use python3 instead of python2" OFF)
option(AUVLIB_EXPORT_BUILD "Export build dir configs" ON)

# libigl
option(LIBIGL_USE_STATIC_LIBRARY "Use libigl as static library" OFF)
Expand Down
6 changes: 4 additions & 2 deletions src/bathy_maps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,7 @@ install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
# just go into 'cmake'.
install(EXPORT BathyMapsConfig DESTINATION share/BathyMaps/cmake)

# This makes the project importable from the build directory
export(TARGETS draw_map mesh_map align_map drape_mesh patch_draper base_draper map_draper patch_views sss_map_image sss_meas_data sss_gen_sim FILE BathyMapsConfig.cmake)
if (AUVLIB_EXPORT_BUILD)
# This makes the project importable from the build directory
export(TARGETS draw_map mesh_map align_map drape_mesh patch_draper base_draper map_draper patch_views sss_map_image sss_meas_data sss_gen_sim FILE BathyMapsConfig.cmake)
endif()

0 comments on commit e64642b

Please sign in to comment.