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:
@@ -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 ()
|
||||
|
||||
# ========================================================================
|
||||
|
||||
Reference in New Issue
Block a user