diff --git a/CHANGELOG.md b/CHANGELOG.md index c41fca0..6aa2e61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.1.2](https://github.com/acquire-project/acquire-driver-spinnaker/compare/v0.1.1...v0.1.2) - 2024-09-09 + +### Added + +- Linux support. + ## [0.1.1](https://github.com/acquire-project/acquire-driver-spinnaker/compare/v0.1.0...v0.1.1) - 2023-10-02 ### Added diff --git a/cmake/spinnaker.cmake b/cmake/spinnaker.cmake index aa1912d..250b856 100644 --- a/cmake/spinnaker.cmake +++ b/cmake/spinnaker.cmake @@ -4,6 +4,7 @@ find_path(spinnaker_include_dir "Spinnaker.h" PATH_SUFFIXES "include/spinnaker" # osx "FLIR Systems/Spinnaker/include" # windows + "spinnaker/include" # linux DOC "Directory that contains Spinnaker.h" NO_CACHE) @@ -28,6 +29,10 @@ if(spinnaker_include_dir) set_target_properties(${tgt} PROPERTIES IMPORTED_LOCATION "${spinnaker_include_dir}../../lib/libSpinnaker.dylib" ) + elseif(LINUX) + set_target_properties(${tgt} PROPERTIES + IMPORTED_LOCATION "${spinnaker_include_dir}../lib/libSpinnaker.so" + ) endif() else() message(STATUS "Could not find Spinnaker.h")