summaryrefslogtreecommitdiff
path: root/sci-libs/libapogee/files/libapogee_1.5.0-fix_cmake_libdir.patch
blob: 7203da7add165e7763af8332a9e5d4bc8b172edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN indi-1.5.0/3rdparty/libapogee/CMakeLists.txt indi-1.5.0.new/3rdparty/libapogee/CMakeLists.txt
--- indi-1.5.0/3rdparty/libapogee/CMakeLists.txt	2017-08-20 11:44:27.000000000 +0200
+++ indi-1.5.0.new/3rdparty/libapogee/CMakeLists.txt	2017-12-27 18:03:46.578437290 +0100
@@ -94,7 +94,7 @@
 
 target_link_libraries(apogee ${LIBUSB_1_LIBRARIES} ${CURL_LIBRARY} ${Boost_LIBRARIES})
 
-install(TARGETS apogee LIBRARY DESTINATION lib)
+install(TARGETS apogee LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
 
 install( FILES ApogeeCam.h Alta.h AltaF.h Ascent.h CamGen2Base.h CameraInfo.h CameraStatusRegs.h Aspen.h FindDeviceEthernet.h FindDeviceUsb.h HiC.h ApogeeFilterWheel.h Quad.h DefDllExport.h versionNo.h doc.h ApgLogger.h LoggerSyslog.h DESTINATION include/libapogee COMPONENT Devel)