diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index e6ed3fa88..9f347f0a5 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -1232,7 +1232,7 @@ if (APPLE) # add ./Compiler/*.h to assimp.framework via copy command ADD_CUSTOM_COMMAND(TARGET assimp POST_BUILD COMMAND "${CMAKE_COMMAND}" -E copy_directory - "../${HEADER_PATH}/Compiler" + "${HEADER_PATH}/Compiler" assimp.framework/Headers/Compiler COMMENT "Copying public ./Compiler/ header files to framework bundle's Headers/Compiler/") ENDIF()