CMakeLists.txt
changeset 274 b10562c14db0
parent 271 84c392894e25
equal deleted inserted replaced
273:35d2fe7b3e0c 274:b10562c14db0
    29 	set(OPENGL_gl_LIBRARY "-lopengl32" CACHE STRING "OpenGL library for Win32" FORCE)
    29 	set(OPENGL_gl_LIBRARY "-lopengl32" CACHE STRING "OpenGL library for Win32" FORCE)
    30 	set(OPENGL_glu_LIBRARY "-lglu32" CACHE STRING "GLU library for Win32" FORCE)
    30 	set(OPENGL_glu_LIBRARY "-lglu32" CACHE STRING "GLU library for Win32" FORCE)
    31 endif(MINGW)
    31 endif(MINGW)
    32 
    32 
    33 if(APPLE)
    33 if(APPLE)
    34 	set(CMAKE_OSX_ARCHITECTURES "i386;ppc" CACHE STRING "Build architectures for OSX")
    34 	set(CMAKE_OSX_ARCHITECTURES "i386;x86_64;ppc" CACHE STRING "Build architectures for OSX")
    35 	set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING 
    35 	set(CMAKE_OSX_DEPLOYMENT_TARGET "10.5" CACHE STRING 
    36 		"Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value")
    36 		"Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value")
    37 	set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE PATH 
    37 	set(CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.5.sdk" CACHE PATH 
    38 		"The product will be built against the headers and libraries located inside the indicated SDK.")
    38 		"The product will be built against the headers and libraries located inside the indicated SDK.")
    39 endif(APPLE)
    39 endif(APPLE)