diff --git a/examples/opengl/CMakeLists.txt b/examples/opengl/CMakeLists.txt index 824c7535c..7c54293b3 100644 --- a/examples/opengl/CMakeLists.txt +++ b/examples/opengl/CMakeLists.txt @@ -3,8 +3,8 @@ set(SRC OpenGL.cpp) if (SFML_OS_IOS) set(RESOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/resources/background.jpg - ${CMAKE_CURRENT_SOURCE_DIR}/resources/tuffy.ttf) + resources/background.jpg + resources/tuffy.ttf) set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) endif() diff --git a/examples/tennis/CMakeLists.txt b/examples/tennis/CMakeLists.txt index c2a752485..ebd8bb226 100644 --- a/examples/tennis/CMakeLists.txt +++ b/examples/tennis/CMakeLists.txt @@ -2,8 +2,8 @@ set(SRC Tennis.cpp) if (SFML_OS_IOS) set(RESOURCES - ${CMAKE_CURRENT_SOURCE_DIR}/resources/ball.wav - ${CMAKE_CURRENT_SOURCE_DIR}/resources/tuffy.ttf) + resources/ball.wav + resources/tuffy.ttf) set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) endif()