From b874e82bc5a6856c4b2fa4c19f98ab2269daebc6 Mon Sep 17 00:00:00 2001 From: akshay-c Date: Tue, 9 Apr 2019 11:21:52 +0530 Subject: minor corrections/typos --- ldmicro/CMakeLists.txt | 4 +++- ldmicro/txt2c.pl | 0 2 files changed, 3 insertions(+), 1 deletion(-) mode change 100755 => 100644 ldmicro/txt2c.pl (limited to 'ldmicro') diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt index 7fa3577..2b4d332 100644 --- a/ldmicro/CMakeLists.txt +++ b/ldmicro/CMakeLists.txt @@ -64,7 +64,7 @@ IF(UNIX) add_custom_command( OUTPUT ${OBJDIR}/helptext.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND perl txt2c.pl > ${OBJDItR}/helptext.cpp + COMMAND perl txt2c.pl > ${OBJDIR}/helptext.cpp DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/manual*.txt") set(SCRIPT_GENERATED_FILES ${OBJDIR}/helptext.cpp @@ -99,6 +99,8 @@ IF(UNIX) # MESSAGE( STATUS " GTK3_LIBRARIES: " ${GTK3_LIBRARIES} ) ENDIF ( GTK3_FOUND ) + set_property(SOURCE ${OBJDIR}/helptext.cpp PROPERTY SKIP_AUTOGEN ON) + set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOUIC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/ldmicro/txt2c.pl b/ldmicro/txt2c.pl old mode 100755 new mode 100644 -- cgit