Typo
This commit is contained in:
@@ -7,6 +7,11 @@ if("${PROJECT_NAME}" STREQUAL "")
|
|||||||
project (OpenMesh)
|
project (OpenMesh)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if ( WIN32 )
|
||||||
|
# This is the base directory for windows library search used in the finders we ship.
|
||||||
|
set(CMAKE_WINDOWS_LIBS_DIR "c:/libs" CACHE STRING "Default Library search dir on windows." )
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT WIN32 AND NOT CMAKE_BUILD_TYPE)
|
if (NOT WIN32 AND NOT CMAKE_BUILD_TYPE)
|
||||||
message(STATUS "No build type selected, default to Release")
|
message(STATUS "No build type selected, default to Release")
|
||||||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ IF (WIN32)
|
|||||||
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
|
FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
|
||||||
PATHS ${GLUT_ROOT_PATH}/include
|
PATHS ${GLUT_ROOT_PATH}/include
|
||||||
"${CMAKE_WINDOWS_LIBS_DIR}/glut-3.7/include"
|
"${CMAKE_WINDOWS_LIBS_DIR}/glut-3.7/include"
|
||||||
"${VS_SEARCH_PATH}/freeglut-3.0.0/include" )
|
"${VS_SEARCH_PATH}/freeglut-3.0.0/include"
|
||||||
"${VS_SEARCH_PATH}/freeglut-2.8.1/include" )
|
"${VS_SEARCH_PATH}/freeglut-2.8.1/include" )
|
||||||
|
|
||||||
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut32 glut freeglut
|
FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut32 glut freeglut
|
||||||
|
|||||||
Reference in New Issue
Block a user