openbsd-ports/games/openxcom/patches/patch-src_CMakeLists_txt
ajacoutot 9f243c390c Update to openxcom-20120217.
from Antti Harri (maintainer)
2012-02-29 08:25:32 +00:00

19 lines
858 B
Plaintext

$OpenBSD: patch-src_CMakeLists_txt,v 1.1 2012/02/29 08:25:32 ajacoutot Exp $
--- src/CMakeLists.txt.orig Thu Feb 16 17:24:58 2012
+++ src/CMakeLists.txt Fri Feb 17 20:54:58 2012
@@ -530,10 +530,10 @@ if ( WIN32 )
endif ()
target_link_libraries ( openxcom ${system_libs} ${SDLMIXER_LIBRARY} ${SDLGFX_LIBRARY} ${SDL_LIBRARY} ${YAMLCPP_LIBRARY} )
-add_custom_command ( TARGET openxcom
- POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/bin/data ${EXECUTABLE_OUTPUT_PATH}/data )
-install ( DIRECTORY ${CMAKE_SOURCE_DIR}/bin/data DESTINATION bin )
+#add_custom_command ( TARGET openxcom
+# POST_BUILD
+# COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/bin/data ${EXECUTABLE_OUTPUT_PATH}/data )
+#install ( DIRECTORY ${CMAKE_SOURCE_DIR}/bin/data DESTINATION bin )
# Copy Windows DLL to bin folder
if ( WIN32 )