--- a/share/CMakeLists.txt Fri Jan 24 10:39:41 2014 +0400
+++ b/share/CMakeLists.txt Fri Jan 24 10:56:22 2014 +0100
@@ -12,15 +12,15 @@
set(minimum_macosx_version "10.6.3")
endif()
- configure_file(${hedgewars_SOURCE_DIR}/share/Info.plist.in
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in
${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
#path here should be Hedgewars.app/Contents/MacOS
install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
DESTINATION ../)
- install(PROGRAMS "${hedgewars_SOURCE_DIR}/share/Icon.icns"
+ install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/Icon.icns"
DESTINATION ../Resources/)
- install(PROGRAMS "${hedgewars_SOURCE_DIR}/share/hwico.icns"
+ install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/hwico.icns"
DESTINATION ../Resources/)
- install(PROGRAMS "${hedgewars_SOURCE_DIR}/share/dsa_pub.pem"
+ install(PROGRAMS "${CMAKE_CURRENT_SOURCE_DIR}/dsa_pub.pem"
DESTINATION ../Resources/)
endif(APPLE)