summaryrefslogtreecommitdiffstats
path: root/ksokoban/levels/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ksokoban/levels/CMakeLists.txt')
-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 1847d3e..b11a6a7 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}
)