Created
September 22, 2017 03:53
-
-
Save docprofsky/3ab3e1e4e29ea534548595d9437fa3c7 to your computer and use it in GitHub Desktop.
nrsc5 set include path
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/src/CMakeLists.txt b/src/CMakeLists.txt | |
index fb4a6a6..b681cbc 100644 | |
--- a/src/CMakeLists.txt | |
+++ b/src/CMakeLists.txt | |
@@ -13,7 +13,10 @@ if (USE_FAST_MATH) | |
endif() | |
configure_file (config.h.in config.h) | |
-include_directories ("${CMAKE_CURRENT_BINARY_DIR}") | |
+ | |
+find_path (FFTW3_INCLUDE_DIRS fftw3.h) | |
+ | |
+include_directories ("${CMAKE_CURRENT_BINARY_DIR}" ${FFTW3_INCLUDE_DIRS}) | |
add_executable ( | |
nrsc5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment