Merge pull request #15356 from NissimHadar/22096-addVHACDUtilToInstaller

Case 22096: Added vhacd-util and Oven to all installers.
This commit is contained in:
Sam Gondelman 2019-04-18 20:25:02 -07:00 committed by GitHub
commit 4f9911a655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 9 deletions

View file

@ -21,8 +21,8 @@ endfunction()
if (BUILD_TOOLS) if (BUILD_TOOLS)
# Allow different tools for stable builds # Allow different tools for stable builds
if (STABLE_BUILD) if (STABLE_BUILD)
set(ALL_TOOLS set(ALL_TOOLS
udt-test udt-test
vhacd-util vhacd-util
frame-optimizer frame-optimizer
gpu-frame-player gpu-frame-player
@ -34,8 +34,8 @@ if (BUILD_TOOLS)
oven oven
) )
else() else()
set(ALL_TOOLS set(ALL_TOOLS
udt-test udt-test
vhacd-util vhacd-util
frame-optimizer frame-optimizer
gpu-frame-player gpu-frame-player
@ -48,7 +48,7 @@ if (BUILD_TOOLS)
nitpick nitpick
) )
endif() endif()
foreach(TOOL ${ALL_TOOLS}) foreach(TOOL ${ALL_TOOLS})
check_test(${TOOL}) check_test(${TOOL})
if (${BUILD_TOOL_RESULT}) if (${BUILD_TOOL_RESULT})

View file

@ -18,6 +18,4 @@ elseif (APPLE)
set_target_properties(${TARGET_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks") set_target_properties(${TARGET_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks")
endif() endif()
if (BUILD_SERVER) install_beside_console()
install_beside_console()
endif ()

View file

@ -12,7 +12,9 @@ target_link_libraries(${TARGET_NAME} ${VHACD_LIBRARIES})
setup_memory_debugger() setup_memory_debugger()
if (UNIX AND NOT APPLE) if (WIN32)
package_libraries_for_deployment()
elseif (UNIX AND NOT APPLE)
include(FindOpenMP) include(FindOpenMP)
if(OPENMP_FOUND) if(OPENMP_FOUND)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
@ -20,3 +22,5 @@ if (UNIX AND NOT APPLE)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
endif() endif()
endif () endif ()
install_beside_console()