set(SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/Source")
set(DEPDIR "${CMAKE_CURRENT_SOURCE_DIR}/Dependencies")
-if(NOT CMAKE_BUILD_TYPE)\r
- set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING\r
- "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel"\r
- FORCE)\r
+if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
+ "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel"
+ FORCE)
endif(NOT CMAKE_BUILD_TYPE)
if(NOT LUGARU_INSTALL_PREFIX)
set(OPENAL_INCLUDE_DIR "${OPENALDIR}/include/AL")
set(OPENAL_LIBRARY "")
- if (WINDOWS)
+ if (WIN32)
set(LUGARU_HAS_INTERNAL_OPENAL True)
# if (MSVC) # !!! FIXME: package MSVC .dll and .lib for Windows?
# set(OPENAL_LIBRARY
${OPENALDIR}/lib/win32/mingw/libOpenAL32.dll.a
)
endif (MINGW)
- endif(WINDOWS)
+ endif(WIN32)
if (NOT LUGARU_HAS_INTERNAL_OPENAL)
message(ERROR "We don't have a prebuilt OpenAL for this platform.")
)
endif (APPLE)
- if (WINDOWS)
+ if (WIN32)
set(LUGARU_HAS_INTERNAL_SDL True)
if (MSVC)
set(SDL_LIBRARY
${SDLDIR}/lib/win32/mingw/libSDLmain.a
)
endif (MINGW)
- endif (WINDOWS)
+ endif (WIN32)
if (NOT LUGARU_HAS_INTERNAL_SDL)
message(ERROR "We don't have a prebuilt SDL for this platform.")