summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--anim-crop-tool/CMakeLists.txt2
-rw-r--r--bench/CMakeLists.txt2
-rw-r--r--editor/CMakeLists.txt2
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--wall-tileset-tool/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8768688..c39a6e0b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,7 +217,7 @@ elseif(CMAKE_COMPILER_IS_GNUCXX)
add_compile_options(-Wno-subobject-linkage -Wno-parentheses -Wno-overloaded-virtual)
endif()
-function(fm_add_install_executable self)
+function(fm_install_executable self)
if(NOT MSVC AND NOT APPLE)
if(CMAKE_RUNTIME_OUTPUT_DIRECTORY STREQUAL "")
message(FATAL_ERROR "")
diff --git a/anim-crop-tool/CMakeLists.txt b/anim-crop-tool/CMakeLists.txt
index 9fd5f57d..5f10df62 100644
--- a/anim-crop-tool/CMakeLists.txt
+++ b/anim-crop-tool/CMakeLists.txt
@@ -12,5 +12,5 @@ if(OpenCV_FOUND)
add_executable(${self} "${sources}")
target_link_libraries(${self} PRIVATE floormat-serialize floormat)
- fm_add_install_executable(${self})
+ fm_install_executable(${self})
endif()
diff --git a/bench/CMakeLists.txt b/bench/CMakeLists.txt
index bd4a7d3d..222ffe4f 100644
--- a/bench/CMakeLists.txt
+++ b/bench/CMakeLists.txt
@@ -21,4 +21,4 @@ else()
endif()
target_link_libraries(${self} PUBLIC ${self}_o floormat-serialize floormat-draw floormat)
-fm_add_install_executable(${self})
+fm_install_executable(${self})
diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt
index 5f4f17d3..3e19248a 100644
--- a/editor/CMakeLists.txt
+++ b/editor/CMakeLists.txt
@@ -31,4 +31,4 @@ if (FLOORMAT_ASAN)
endif()
target_link_libraries(${self} PRIVATE ${self}_o floormat-main floormat-serialize floormat-draw floormat)
-fm_add_install_executable(${self})
+fm_install_executable(${self})
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index e5fc6435..58f2aa43 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -18,7 +18,7 @@ if (FLOORMAT_ASAN)
set_target_properties(${self} PROPERTIES OUTPUT_NAME "floormat-test-asan")
endif()
-fm_add_install_executable(${self})
+fm_install_executable(${self})
file(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/save/*.dat" CONFIGURE_ARGS)
foreach(file ${files})
diff --git a/wall-tileset-tool/CMakeLists.txt b/wall-tileset-tool/CMakeLists.txt
index 28f62254..336af25b 100644
--- a/wall-tileset-tool/CMakeLists.txt
+++ b/wall-tileset-tool/CMakeLists.txt
@@ -12,5 +12,5 @@ if(OpenCV_FOUND)
add_executable(${self} "${sources}")
target_link_libraries(${self} PRIVATE floormat-serialize floormat)
- fm_add_install_executable(${self})
+ fm_install_executable(${self})
endif()