From df7175be0f7df8bcc3a1f93e0754641744fb041a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammet=20=C5=9E=C3=BCkr=C3=BC=20Demir?= <41967334+dsm@users.noreply.github.com> Date: Tue, 7 May 2024 16:17:14 +0300 Subject: [PATCH] Update CMakeLists.txt --- src/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fa38cb65..b2ad4ee6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -438,8 +438,11 @@ add_custom_command( # set(gperf_SRC gperfappgen.cpp gperfappgen.h) -add_executable(gperfappgen ${gperf_SRC}) - +IF(WIN32) + add_executable(gperfappgen.exe ${gperf_SRC}) +ELSE() # Unix + add_executable(gperfappgen ${gperf_SRC}) +ENDIF() # # Run gperfappgen, pipe to gperf input to gperfapphash.gph #