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
7a24dc9c
Commit
7a24dc9c
authored
May 11, 2011
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
formatting
parent
429b33de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
27 deletions
+18
-27
CMakeLists.txt
CMakeLists.txt
+18
-27
No files found.
CMakeLists.txt
View file @
7a24dc9c
...
...
@@ -252,22 +252,13 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set
(
USE_FAST_MATH ON CACHE BOOL
"Enable -ffast-math for GCC"
)
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES amd64*
)
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES amd64*
|x86_64*
)
set
(
X86_64 1
)
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES x86_64*
)
set
(
X86_64 1
)
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES i686*
)
set
(
X86 1
)
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES i386*
)
set
(
X86 1
)
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES x86*
)
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES i686*|i386*|x86*
)
set
(
X86 1
)
endif
()
endif
()
if
(
${
CMAKE_SYSTEM_PROCESSOR
}
MATCHES powerpc*
)
set
(
USE_O3 ON CACHE BOOL
"Enable -O3 for GCC"
)
...
...
@@ -608,14 +599,14 @@ if (WITH_QT)
#if (NOT WIN32)
if
(
WITH_QT_OPENGL
)
if
(
QT_QTOPENGL_FOUND AND OPENGL_FOUND
)
set
(
HAVE_QT_OPENGL 1
)
add_definitions
(
-DHAVE_QT_OPENGL
)
#link_directories("${OPENGL_LIBRARIES}")
set
(
OPENCV_LINKER_LIBS
${
OPENCV_LINKER_LIBS
}
${
OPENGL_LIBRARIES
}
)
endif
()
endif
()
#endif()
if
(
QT_QTOPENGL_FOUND AND OPENGL_FOUND
)
set
(
HAVE_QT_OPENGL 1
)
add_definitions
(
-DHAVE_QT_OPENGL
)
#link_directories("${OPENGL_LIBRARIES}")
set
(
OPENCV_LINKER_LIBS
${
OPENCV_LINKER_LIBS
}
${
OPENGL_LIBRARIES
}
)
endif
()
endif
()
#endif()
endif
()
endif
()
...
...
@@ -775,12 +766,12 @@ endif()
############################### VideoInput ################################
if
(
WIN32 AND WITH_VIDEOINPUT
)
if
(
CMAKE_CXX_COMPILER MATCHES
"dw2"
)
else
()
if
(
NOT MINGW64
)
set
(
HAVE_VIDEOINPUT 1
)
endif
()
endif
()
if
(
CMAKE_CXX_COMPILER MATCHES
"dw2"
)
else
()
if
(
NOT MINGW64
)
set
(
HAVE_VIDEOINPUT 1
)
endif
()
endif
()
endif
()
############################### OpenNI ################################
...
...
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