diff --git a/CMakeLists.txt b/CMakeLists.txt
index 514f120daf28a512659a12b6e86d5fe64f6c9c85..98f7b86ecbca5a38c1f455e2a05031f7afa8d91b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,8 +26,13 @@ endif()
 set (BIOEM_SOURCE_FILES "bioem.cpp" "main.cpp" "map.cpp" "model.cpp" "param.cpp" "cmodules/timer.cpp")
 
 ###Find Required Packages
-find_package(PkgConfig REQUIRED)
-pkg_check_modules(FFTW fftw3 REQUIRED)
+find_package(PkgConfig)
+if (PKG_CONFIG_FOUND)
+    pkg_check_modules(FFTW fftw3)
+endif()
+if (NOT FFTW_FOUND)
+    find_package(FFTW 3 REQUIRED)
+endif()
 include_directories(${FFTW_INCLUDE_DIRS})
 
 find_package(Boost 1.43 REQUIRED)