Convert 2 unix
This commit is contained in:
@@ -1,29 +1,31 @@
|
|||||||
# gp_item_default_embedded_path_override item default_embedded_path_var
|
# gp_item_default_embedded_path_override item default_embedded_path_var
|
||||||
#
|
#
|
||||||
# Return the path that others should refer to the item by when the item
|
# Return the path that others should refer to the item by when the item
|
||||||
# is embedded inside a bundle.
|
# is embedded inside a bundle.
|
||||||
#
|
#
|
||||||
# This is a project-specific override of BundleUtilities.cmake's
|
# This is a project-specific override of BundleUtilities.cmake's
|
||||||
# gp_item_default_embedded_path
|
# gp_item_default_embedded_path
|
||||||
#
|
#
|
||||||
function(gp_item_default_embedded_path_override item default_embedded_path_var)
|
function(gp_item_default_embedded_path_override item default_embedded_path_var)
|
||||||
|
|
||||||
# By default, embed items as set by gp_item_default_embedded_path:
|
# By default, embed items as set by gp_item_default_embedded_path:
|
||||||
#
|
#
|
||||||
set(path "${${default_embedded_path_var}}")
|
set(path "${${default_embedded_path_var}}")
|
||||||
|
|
||||||
set(${default_embedded_path_var} "${path}" PARENT_SCOPE)
|
set(${default_embedded_path_var} "${path}" PARENT_SCOPE)
|
||||||
endfunction(gp_item_default_embedded_path_override)
|
endfunction(gp_item_default_embedded_path_override)
|
||||||
|
|
||||||
include (BundleUtilities)
|
include (BundleUtilities)
|
||||||
|
|
||||||
# Get library paths
|
if(BUILD_APPS)
|
||||||
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
|
# Get library paths
|
||||||
|
get_filename_component(_GlutDir "@GLUT_glut_LIBRARY@" PATH)
|
||||||
# fix all dependencies
|
|
||||||
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@")
|
# fix all dependencies
|
||||||
|
fixup_bundle ("@CMAKE_BINARY_DIR@/Build/Smoothing.exe" "" "${_GlutDir};@QT_BINARY_DIR@")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user