diff options
Diffstat (limited to 'cmake/Modules/FindIrrlicht.cmake')
-rw-r--r-- | cmake/Modules/FindIrrlicht.cmake | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cmake/Modules/FindIrrlicht.cmake b/cmake/Modules/FindIrrlicht.cmake index bd0042262..dce78fbaa 100644 --- a/cmake/Modules/FindIrrlicht.cmake +++ b/cmake/Modules/FindIrrlicht.cmake @@ -2,12 +2,6 @@ set(IRRLICHT_SOURCE_DIR "" CACHE PATH "Path to irrlicht source directory (optional)") -if( UNIX ) - # Unix -else( UNIX ) - # Windows -endif( UNIX ) - # Find include directory if(NOT IRRLICHT_SOURCE_DIR STREQUAL "") @@ -82,7 +76,7 @@ endif(WIN32) # handle the QUIETLY and REQUIRED arguments and set IRRLICHT_FOUND to TRUE if # all listed variables are TRUE INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(IRRLICHT DEFAULT_MSG IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(Irrlicht DEFAULT_MSG IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR) IF(IRRLICHT_FOUND) SET(IRRLICHT_LIBRARIES ${IRRLICHT_LIBRARY}) |