Skip to content

Commit

Permalink
Merge remote-tracking branch 'dhruv/framework' into framework
Browse files Browse the repository at this point in the history
  • Loading branch information
dgovil committed Sep 23, 2024
2 parents d43c48b + b557ad6 commit c7c4ab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ if (MATERIALX_BUILD_MONOLITHIC)
# Conform cmake formats to zsh expected formats
set(__embedded_build "false")
if (MATERIALX_BUILD_APPLE_EMBEDDED)
set(__embedded_build "true")
set(__embedded_build "true")
endif()

# Install the Info.plist and shell script
Expand All @@ -543,9 +543,7 @@ if (MATERIALX_BUILD_MONOLITHIC)

# Run the shell script for the primary configuration
install(CODE "execute_process(COMMAND zsh ${PROJECT_BINARY_DIR}/AppleFrameworkBuild.zsh )")

endif()

endif()
endif()

Expand Down
3 changes: 1 addition & 2 deletions source/MaterialXFormat/Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ FileSearchPath getDefaultDataSearchPath()
const FilePath REQUIRED_LIBRARY_FOLDER("libraries/targets");
FilePath currentPath = FilePath::getModulePath();

FileSearchPath searchPath = FileSearchPath();

FileSearchPath searchPath;
#if defined(BUILD_APPLE_FRAMEWORK)
const FilePath FRAMEWORK_RESOURCES("Resources");

Expand Down

0 comments on commit c7c4ab0

Please sign in to comment.