Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-31 07:29:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-31 07:29:11 +0300
commit6fdfa97edba9bd05d7c4d5e0cfe0bb81a99f5701 (patch)
tree77ab3d48f7697698412179ee36e116c855bd56f4 /CMakeLists.txt
parent55934366521da478ad8f4674152c00742c2f5f1e (diff)
CMake: use blender_include_dirs("${OPENGL_INCLUDE_DIR}") rather then blender_include_dirs(${OPENGL_INCLUDE_DIR})
Apparently this is needed for MSVC in some cases, reported by Tamito Kajiyama r33895.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1e22f9ab0f..304c17244d3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -690,7 +690,7 @@ elseif(WIN32)
endif()
# used in many places so include globally, like OpenGL
- blender_include_dirs(${PTHREADS_INC})
+ blender_include_dirs("${PTHREADS_INC}")
elseif(APPLE)
@@ -946,9 +946,9 @@ endif()
# Configure OpenGL.
find_package(OpenGL)
if(MSVC)
- include_directories(${OPENGL_INCLUDE_DIR})
+ include_directories("${OPENGL_INCLUDE_DIR}")
else()
- blender_include_dirs(${OPENGL_INCLUDE_DIR})
+ blender_include_dirs("${OPENGL_INCLUDE_DIR}")
endif()
# unset(OPENGL_LIBRARIES CACHE) # not compat with older cmake
# unset(OPENGL_xmesa_INCLUDE_DIR CACHE) # not compat with older cmake