diff --git a/othersoft/install.sh b/othersoft/install.sh index 7d392bc..6b732b9 100644 --- a/othersoft/install.sh +++ b/othersoft/install.sh @@ -12,7 +12,7 @@ mkdir shuttercali cd shuttercali cmake ../../shuttercali/project/LocationCali make -j4 -cp ./shuttercali /home/pi/bin -cd ../../ +cp ./shutter_calibrate /home/pi/bin +cd ../../../ cp -r ./html/* /var/www/html chmod +x /var/www/html/php/*.sh diff --git a/othersoft/shuttercali/project/LocationCali/CMakeLists.txt b/othersoft/shuttercali/project/LocationCali/CMakeLists.txt index 966594f..357bfe2 100644 --- a/othersoft/shuttercali/project/LocationCali/CMakeLists.txt +++ b/othersoft/shuttercali/project/LocationCali/CMakeLists.txt @@ -35,10 +35,10 @@ add_executable( shutter_calibrate main.cpp ${SRC_LIST1} ) qt5_use_modules(shutter_calibrate ${QT}) -target_link_libraries(shutter_calibrate SeaBreeze) -IF (WIN32) #target_link_libraries(shutter_calibrate SeaBreeze) -target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) +IF (WIN32) +target_link_libraries(shutter_calibrate SeaBreeze) +#target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) ELSE () target_link_libraries(shutter_calibrate seabreeze usb stdc++ m) ENDIF ()