Get rid of glew dependencies

Remove a lot of unused qt libraries which were linked before
Don't link libXi and Xmu as we don't need it



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@378 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2011-03-09 09:52:57 +00:00
parent e4549aa386
commit 38cd3513fd
10 changed files with 74 additions and 36 deletions

View File

@@ -19,13 +19,31 @@ if (WIN32)
)
endif ()
# ========================================================================
# Add bundle targets here
# ========================================================================
if (WIN32)
add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" )
endif()
if (APPLE)
add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.cmake"
)
endif()
# ========================================================================
# Call the subdirectories with there projects
# ========================================================================
add_subdirectory (src/OpenMesh/Core)
add_subdirectory (src/OpenMesh/Tools)
add_subdirectory (src/OpenMesh/Apps)
add_subdirectory (Doc)
# ========================================================================
# Bundle generation
# Bundle generation (Targets exist, now configure them)
# ========================================================================
if (WIN32 )
@@ -33,9 +51,6 @@ if (WIN32 )
configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.win.in"
"${CMAKE_BINARY_DIR}/fixbundle.win.cmake" @ONLY IMMEDIATE)
add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.win.cmake" )
# let bundle generation depend on all targets
add_dependencies (fixbundle QtViewer DecimaterGui)
@@ -46,9 +61,7 @@ if (APPLE)
# prepare bundle generation cmake file and add a build target for it
configure_file ("${CMAKE_SOURCE_DIR}/cmake/fixbundle.cmake.in"
"${CMAKE_BINARY_DIR}/fixbundle.cmake" @ONLY IMMEDIATE)
add_custom_target (fixbundle ALL
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_BINARY_DIR}/fixbundle.cmake"
)
# let bundle generation depend on all targets
add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui)
@@ -60,9 +73,6 @@ if (APPLE)
)
endif ()
# install bundle
#install (DIRECTORY ${CMAKE_BINARY_DIR}/Build/OpenMesh.app DESTINATION .
# USE_SOURCE_PERMISSIONS)
endif ()
# ========================================================================