Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Coffey eartle

View GitHub Profile
View gist:2768527
diff --git a/cmake/Modules/FindLibFFTW3.cmake b/cmake/Modules/FindLibFFTW3.cmake
index fa6419a..42aace6 100644
--- a/cmake/Modules/FindLibFFTW3.cmake
+++ b/cmake/Modules/FindLibFFTW3.cmake
@@ -9,12 +9,17 @@
# LIBFFTW3_INCLUDE_DIR The libfftw3 include directory
# LIBFFTW3_LIBRARY The libfftw3 librarys
+find_package(PkgConfig)
+pkg_check_modules(PC_FFTW3F QUIET fftw3f)
@eartle
eartle / gist:2604822
Created May 5, 2012
liblastfm cmake build fixes for mac
View gist:2604822
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8394be3..0805c4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,7 +24,7 @@ set(CMAKE_AUTOMOC TRUE)
if(CMAKE_COMPILER_IS_GNUCXX)
add_definitions("-fno-operator-names -fvisibility-inlines-hidden -fvisibility=hidden")
endif()
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")
+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,--no-undefined")