Mercurial > projects > qtd
diff build/opengl.txt @ 23:907d517d37c6
CMake: Set Release configuration as default.
CMake: Strip examples on linux (on windows now disabled).
CMake: Install opengl32.lib and glu32.lib on windows.
author | SokoL_SD |
---|---|
date | Fri, 15 May 2009 11:28:39 +0000 |
parents | b8a79f9fba5a |
children | a9626891eca6 |
line wrap: on
line diff
--- a/build/opengl.txt Fri May 15 02:44:15 2009 +0000 +++ b/build/opengl.txt Fri May 15 11:28:39 2009 +0000 @@ -5,6 +5,7 @@ QGLFormat QGLColormap ) -if(${CMAKE_SYSTEM_NAME} STREQUAL Windows) - set(link_example opengl32 glu32) -endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows) +if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS) + set(link_example opengl32 glu32) + install(FILES ${link_example} DESTINATION lib) +endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)