mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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)
|
||||
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()
|
||||
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user