From 0872eb6f5481b72518ba6c6ac9780dbf9d48dc92 Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Thu, 30 Jun 2022 12:37:44 +0000 Subject: * CMakeLists.txt: Use full path to gen_test_char.exe in CUSTOM_COMMAND. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902366 13f79535-47bb-0310-9956-ffa450edef68 --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 379644dc50..cfbeb8ce03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -651,11 +651,10 @@ ENDIF() CONFIGURE_FILE(os/win32/BaseAddr.ref ${PROJECT_BINARY_DIR}/ COPYONLY) ADD_EXECUTABLE(gen_test_char server/gen_test_char.c) -GET_TARGET_PROPERTY(GEN_TEST_CHAR_EXE gen_test_char LOCATION) ADD_CUSTOM_COMMAND( COMMENT "Generating character tables, test_char.h, for current locale" DEPENDS gen_test_char - COMMAND ${GEN_TEST_CHAR_EXE} > ${PROJECT_BINARY_DIR}/test_char.h + COMMAND $ > ${PROJECT_BINARY_DIR}/test_char.h OUTPUT ${PROJECT_BINARY_DIR}/test_char.h ) ADD_CUSTOM_TARGET( -- cgit v1.2.3