diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-01-02 13:21:03 +0300 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-01-02 13:21:03 +0300 |
commit | f6a034a481075201d0d64e1dd8478ed13adaaf5a (patch) | |
tree | 286c4f363adc0fefad63e4f6f349dabdf895f7f7 /CMakeLists.txt | |
parent | 8c86d2da3ab732a3ec0915c6e0328c09f99e15f1 (diff) |
CMake fix so MSVC works again. Fix suggested by Tamito Kajiyama.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 304c17244d3..d3095347ab4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -945,11 +945,7 @@ endif() #----------------------------------------------------------------------------- # Configure OpenGL. find_package(OpenGL) -if(MSVC) - include_directories("${OPENGL_INCLUDE_DIR}") -else() - blender_include_dirs("${OPENGL_INCLUDE_DIR}") -endif() +blender_include_dirs("${OPENGL_INCLUDE_DIR}") # unset(OPENGL_LIBRARIES CACHE) # not compat with older cmake # unset(OPENGL_xmesa_INCLUDE_DIR CACHE) # not compat with older cmake |