Use relative paths for resource files
This commit is contained in:
parent
40b175adf4
commit
72d88033e2
@ -3,8 +3,8 @@ set(SRC OpenGL.cpp)
|
|||||||
|
|
||||||
if (SFML_OS_IOS)
|
if (SFML_OS_IOS)
|
||||||
set(RESOURCES
|
set(RESOURCES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/resources/background.jpg
|
resources/background.jpg
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/resources/tuffy.ttf)
|
resources/tuffy.ttf)
|
||||||
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
set(SRC Tennis.cpp)
|
set(SRC Tennis.cpp)
|
||||||
if (SFML_OS_IOS)
|
if (SFML_OS_IOS)
|
||||||
set(RESOURCES
|
set(RESOURCES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/resources/ball.wav
|
resources/ball.wav
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/resources/tuffy.ttf)
|
resources/tuffy.ttf)
|
||||||
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
set_source_files_properties(${RESOURCES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user