Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
89dac589
Commit
89dac589
authored
Dec 04, 2014
by
nate.crosswhite@stresearch.com
Browse files
Set correct include directory for fftw
parent
1f868695
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+2
-3
No files found.
dlib/CMakeLists.txt
View file @
89dac589
...
@@ -367,13 +367,12 @@ if (NOT TARGET dlib)
...
@@ -367,13 +367,12 @@ if (NOT TARGET dlib)
# make sure fftw3.h is in the include path
# make sure fftw3.h is in the include path
find_path
(
fftw_path fftw3.h
)
find_path
(
fftw_path fftw3.h
)
if
(
fftw AND fftw_path
)
if
(
fftw AND fftw_path
)
get_filename_component
(
fftw_path2
${
fftw_path
}
PATH CACHE
)
include_directories
(
${
fftw_path
}
)
include_directories
(
${
fftw_path2
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
fftw
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
fftw
}
)
else
()
else
()
set
(
DLIB_LINK_WITH_FFTW OFF CACHE STRING
${
DLIB_LINK_WITH_SQLITE3_STR
}
FORCE
)
set
(
DLIB_LINK_WITH_FFTW OFF CACHE STRING
${
DLIB_LINK_WITH_SQLITE3_STR
}
FORCE
)
endif
()
endif
()
mark_as_advanced
(
fftw fftw_path
fftw_path2
)
mark_as_advanced
(
fftw fftw_path
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment