mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
fix opengl on hp
This commit is contained in:
parent
33793198b6
commit
c43e3a4f3f
@ -19,7 +19,7 @@ ELSE (WIN32)
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
FIND_LIBRARY(OPENGL_LIB_PATH GL
|
FIND_LIBRARY(OPENGL_LIBRARY GL
|
||||||
/usr/lib
|
/usr/lib
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
/opt/graphics/OpenGL/lib
|
/opt/graphics/OpenGL/lib
|
||||||
@ -27,7 +27,4 @@ ELSE (WIN32)
|
|||||||
/usr/X11R6/lib
|
/usr/X11R6/lib
|
||||||
)
|
)
|
||||||
|
|
||||||
# right now we only look for -lgl maybe in future also mesa
|
|
||||||
SET (OPENGL_LIBRARY GL CACHE)
|
|
||||||
|
|
||||||
ENDIF (WIN32)
|
ENDIF (WIN32)
|
@ -799,7 +799,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
|
|||||||
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
||||||
}
|
}
|
||||||
tryPath = *p;
|
tryPath = *p;
|
||||||
tryPath = "/lib";
|
tryPath += "/lib";
|
||||||
tryPath += name;
|
tryPath += name;
|
||||||
tryPath += ".a";
|
tryPath += ".a";
|
||||||
if(cmSystemTools::FileExists(tryPath.c_str()))
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|
||||||
@ -807,7 +807,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
|
|||||||
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
||||||
}
|
}
|
||||||
tryPath = *p;
|
tryPath = *p;
|
||||||
tryPath = "/lib";
|
tryPath += "/lib";
|
||||||
tryPath += name;
|
tryPath += name;
|
||||||
tryPath += ".sl";
|
tryPath += ".sl";
|
||||||
if(cmSystemTools::FileExists(tryPath.c_str()))
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|
||||||
|
Loading…
Reference in New Issue
Block a user