mirror of
https://github.com/Poikilos/SAM-Viewer.git
synced 2023-10-03 07:58:48 -07:00
CMake: Attempt to find Irrlicht library
This commit is contained in:
parent
b729326267
commit
bce885e935
@ -20,11 +20,21 @@ configure_file (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(NOT IRRLICHT_INCLUDE_DIR)
|
if(NOT IRRLICHT_INCLUDE_DIR)
|
||||||
set(IRRLICHT_INCLUDE_DIR "/usr/include/irrlicht")
|
find_path(IRRLICHT_INCLUDE_DIR NAMES irrlicht.h
|
||||||
|
PATHS
|
||||||
|
/usr/local/include/irrlicht
|
||||||
|
/usr/include/irrlicht
|
||||||
|
/system/develop/headers/irrlicht #Haiku
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT IRRLICHT_LIBRARY)
|
if(NOT IRRLICHT_LIBRARY)
|
||||||
set(IRRLICHT_LIBRARY "/usr/local/lib/libIrrlicht.so")
|
find_library(IRRLICHT_LIBRARY NAMES libIrrlicht.so libIrrlicht.a Irrlicht
|
||||||
|
PATHS
|
||||||
|
/usr/local/lib
|
||||||
|
/usr/lib
|
||||||
|
/system/develop/lib # Haiku
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user