mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Remove LANGUAGEDIR definition.
The language files are installed into [prefix]/share/qucs/lang regardless of the definition of LANGUAGEDIR.
This commit is contained in:
parent
ea38769bda
commit
7d0feb8b08
@ -1,4 +1,3 @@
|
||||
#cmakedefine LANGUAGEDIR "@LANGUAGEDIR@"
|
||||
|
||||
#define PACKAGE_VERSION "@PROJECT_VERSION@"
|
||||
#define PACKAGE_STRING "qucs @PROJECT_VERSION@"
|
||||
|
@ -764,12 +764,6 @@ mingw* | *msys* | cygwin*)
|
||||
esac
|
||||
AC_SUBST(PATHXFORM)
|
||||
|
||||
dnl Create path info.
|
||||
LANG_PATH="$prefix/share/qucs/lang/"
|
||||
AC_DEFINE_UNQUOTED([LANGUAGEDIR], ["$LANG_PATH"],
|
||||
[Where the language files go.])
|
||||
unset LANG_PATH
|
||||
|
||||
dnl Definitions at top of <config.h>.
|
||||
AH_TOP([
|
||||
/* __BEGIN_DECLS should be used at the beginning of your declarations,
|
||||
|
@ -25,9 +25,6 @@ IF(NOT WIN32)
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-register ")
|
||||
ENDIF()
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
#configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -2,8 +2,6 @@ PROJECT(qucsfilter-v2 CXX C)
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||
cmake_policy(VERSION 2.6)
|
||||
|
||||
SET(LANGUAGEDIR TRUE)
|
||||
|
||||
SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
# The incomplete filter-v2 only builds withs -stdlib=libstc++
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -17,9 +17,6 @@ SET(CMAKE_BUILD_TYPE Debug)
|
||||
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
# configure the header config.h
|
||||
CONFIGURE_FILE (
|
||||
"${PROJECT_SOURCE_DIR}/../config.h.cmake"
|
||||
|
@ -54,10 +54,6 @@ endif()
|
||||
#
|
||||
ADD_DEFINITIONS( -DHAVE_CONFIG_H )
|
||||
|
||||
# define variables
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
|
||||
FIND_PACKAGE( Qt4 4.6.3 REQUIRED QtCore QtGui Qt3Support QtSvg QtXml QtScript)
|
||||
INCLUDE( ${QT_USE_FILE} )
|
||||
|
||||
|
@ -31,13 +31,9 @@ ENDIF (UPDATE_TRANSLATIONS)
|
||||
#
|
||||
#FILE(GLOB QtTRANSLATIONS qtgeneric_*.ts)
|
||||
|
||||
#
|
||||
# location for translations
|
||||
SET(LANGUAGEDIR "${CMAKE_INSTALL_PREFIX}/share/qucs/lang/")
|
||||
|
||||
#
|
||||
# install tranlations
|
||||
INSTALL( FILES ${QM_FILES} DESTINATION ${LANGUAGEDIR})
|
||||
INSTALL( FILES ${QM_FILES} DESTINATION share/qucs/lang)
|
||||
|
||||
# prevent the generated files from being deleted during make clean
|
||||
#set_directory_properties(PROPERTIES CLEAN_NO_CUSTOM true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user