summaryrefslogtreecommitdiffstats
path: root/ksokoban/levels
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban/levels')
-rw-r--r--ksokoban/levels/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/ksokoban/levels/CMakeLists.txt b/ksokoban/levels/CMakeLists.txt
index 1847d3ec..b11a6a7a 100644
--- a/ksokoban/levels/CMakeLists.txt
+++ b/ksokoban/levels/CMakeLists.txt
@@ -9,11 +9,9 @@
#
##################################################
-get_target_property( BIN2C_EXE bin2c LOCATION)
-
add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/data.c
COMMAND
- "${BIN2C_EXE}" \"\" "${CMAKE_CURRENT_SOURCE_DIR}/level.data"
+ bin2c \"\" "${CMAKE_CURRENT_SOURCE_DIR}/level.data"
DEPENDS bin2c ${CMAKE_CURRENT_SOURCE_DIR}/level.data
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)