summaryrefslogtreecommitdiffstats
path: root/ksokoban/levels
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-05-16 00:47:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-05-16 00:48:27 +0200
commiteb64d4ac039709ca1c7af80df061e7d7416b2918 (patch)
tree0ba300fb1dc69fac36762a5bf2ee6225db2b712d /ksokoban/levels
parentd2b7451e4fd5a2e5a1a0805c4354231cd3ed507b (diff)
downloadtdegames-eb64d4ac039709ca1c7af80df061e7d7416b2918.tar.gz
tdegames-eb64d4ac039709ca1c7af80df061e7d7416b2918.zip
cmake: Removed useless usage of
`get_target_property( BIN2C_EXE bin2c LOCATION)` This resolves the CMake warning on CMP0026. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2ab7135063301ee8b165b30f275522c918a04ee7)
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}
)