Only depend on fixbundle, if standalone
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@507 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -15,6 +15,9 @@ add_subdirectory (mconvert)
|
||||
add_subdirectory (VDProgMesh/mkbalancedpm)
|
||||
add_subdirectory (VDProgMesh/Analyzer)
|
||||
|
||||
# Only call fixbundle, when we are building OpenMesh standalone
|
||||
if(${PROJECT_NAME} MATCHES "OpenMesh")
|
||||
|
||||
# Add non ui apps as dependency before fixbundle
|
||||
if ( WIN32 )
|
||||
if ( NOT "${CMAKE_GENERATOR}" MATCHES "MinGW Makefiles" )
|
||||
@@ -29,6 +32,8 @@ if ( APPLE)
|
||||
add_dependencies (fixbundle commandlineDecimater Dualizer mconvert Smoothing commandlineAdaptiveSubdivider commandlineSubdivider mkbalancedpm Analyzer )
|
||||
endif()
|
||||
|
||||
endif() # Project is OpenMesh standalone
|
||||
|
||||
# find needed packages for gui applications
|
||||
find_package (OpenGL)
|
||||
find_package (GLUT)
|
||||
|
||||
Reference in New Issue
Block a user