Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
9a1a9d9a
Commit
9a1a9d9a
authored
Jan 18, 2015
by
Marvin Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating CMake to get GDAL working again on OS X.
parent
df57d038
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
modules/imgcodecs/CMakeLists.txt
+1
-0
grfmt_gdal.cpp
modules/imgcodecs/src/grfmt_gdal.cpp
+1
-0
No files found.
modules/imgcodecs/CMakeLists.txt
View file @
9a1a9d9a
...
...
@@ -51,6 +51,7 @@ if(HAVE_OPENEXR)
endif
()
if
(
HAVE_GDAL
)
add_definitions
(
-DHAVE_GDAL
)
include_directories
(
SYSTEM
${
GDAL_INCLUDE_DIR
}
)
list
(
APPEND GRFMT_LIBS
${
GDAL_LIBRARY
}
)
endif
()
...
...
modules/imgcodecs/src/grfmt_gdal.cpp
View file @
9a1a9d9a
...
...
@@ -38,6 +38,7 @@
// the use of this software, even if advised of the possibility of such damage.
//
//M*/
#include "precomp.hpp"
#include "grfmt_gdal.hpp"
#ifdef HAVE_GDAL
...
...
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