Commit 0ca5d499 authored by Bastian Krayer's avatar Bastian Krayer
Browse files

updated cmake for mac/linux

parent f144adf6
......@@ -115,7 +115,7 @@ if (WIN32)
ELSEIF(APPLE)
FIND_PATH(ASSIMP_INCLUDE_PATH assimp/defs.h
FIND_PATH(ASSIMP_INCLUDE_DIR assimp/defs.h
PATHS
${ASSIMP_ADDITIONAL_SEARCH_DIRS}
${ASSIMP_ROOT_ENV}/include)
......@@ -129,7 +129,7 @@ ELSEIF(APPLE)
ELSE()
FIND_PATH(ASSIMP_INCLUDE_PATH assimp/defs.h
FIND_PATH(ASSIMP_INCLUDE_DIR assimp/defs.h
PATHS ${ASSIMP_ADDITIONAL_SEARCH_DIRS}
)
FIND_LIBRARY(ASSIMP_LIBRARY
......
......@@ -7,7 +7,9 @@
# OpenGL3_LIBRARY
#
file(TO_CMAKE_PATH $ENV{OpenGL_ROOT} OpenGL_ROOT_ENV)
IF(DEFINED ENV{OpenGL_ROOT})
file(TO_CMAKE_PATH $ENV{OpenGL_ROOT} OpenGL_ROOT_ENV)
ENDIF()
IF (WIN32)
FIND_PATH( OpenGL3_INCLUDE_PATH
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment