Kalpanika / x3f

Tools for manipulating X3F files from Sigma cameras
86 stars 28 forks source link

CMakeLists.txt #110

Open oki-miyuki opened 6 years ago

oki-miyuki commented 6 years ago

I could't build this project on my mac. So, I made CMakeLists.txt for this project.

Only tested with mac(apple) environment.

mkdir build cd build cmake .. make

That's OK, But cmake .. -DCMAKE_BUILD_TYPE=Release make Causes SIGSEGV.

https://github.com/oki-miyuki/cmake_for_x3f

Thank you for Greate Project!

rolkar commented 6 years ago

Thanks for the information. We usually build the Mac binaries in a Linux container.

Alex-Vasile commented 1 year ago

I found that I needed to add the following line: set(CMAKE_CXX_FLAGS -L/opt/homebrew/Cellar/libtiff/4.4.0_1/lib)

Change (to get rid of warnings)