View gist:2604822
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
View gist:2768527
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |