[Kst] branches/work/kst/portto4/kst/cmake/3rdparty
Peter Kümmel
syntheticpp at gmx.net
Fri Jul 6 11:06:24 UTC 2012
SVN commit 1304340 by kuemmel:
apple only changes
M +4 -1 CMakeLists.txt
--- branches/work/kst/portto4/kst/cmake/3rdparty/CMakeLists.txt #1304339:1304340
@@ -35,6 +35,9 @@
# GETDATA
+if(APPLE)
+ set(gddeps -lbz2 -lz)
+endif()
set(ext_src ${build_dir}/getdata/src/getdata)
if(WIN32)
set(ext_url http://sourceforge.net/projects/getdata/files/getdata/0.8.0/getdata_win-0.8.0.zip)
@@ -58,7 +61,7 @@
INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} ${ext_install})
set(GETDATA_INCLUDEDIR ${install_dir}/include PARENT_SCOPE)
-set(GETDATA_LIBRARIES ${install_dir}/lib/libgetdata++.a -lbz2 -lz ${install_dir}/lib/libgetdata.a PARENT_SCOPE)
+set(GETDATA_LIBRARIES ${install_dir}/lib/libgetdata++.a ${gddeps} ${install_dir}/lib/libgetdata.a PARENT_SCOPE)
# ZLIB needed by MATIO
More information about the Kst
mailing list