Commit c28c241a authored by jcfr's avatar jcfr

COMP: Set "Slicer_LANGUAGES" global property only if i18n support is enabled

Prevent confusion and make global property definition consistent.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21890 3bd1e089-480b-0410-8dfb-8563597acbee
parent b679eea9
......@@ -34,14 +34,6 @@ if(${CTEST_USE_LAUNCHERS})
message(STATUS "CTest launchers enabled")
endif()
#-----------------------------------------------------------------------------
# VAriable Slicer_LANGUAGES
#-----------------------------------------------------------------------------
set(Slicer_LANGUAGES
"fr"
)
set_property(GLOBAL PROPERTY Slicer_LANGUAGES ${Slicer_LANGUAGES})
#-----------------------------------------------------------------------------
# Sanity checks
#------------------------------------------------------------------------------
......@@ -330,6 +322,17 @@ if(Slicer_BUILD_I18N_SUPPORT)
endif()
include(SlicerFunctionInstallLibrary)
#-----------------------------------------------------------------------------
# Internationalization
#-----------------------------------------------------------------------------
if(Slicer_BUILD_I18N_SUPPORT)
set(Slicer_LANGUAGES
"fr"
)
set_property(GLOBAL PROPERTY Slicer_LANGUAGES ${Slicer_LANGUAGES})
endif()
#-----------------------------------------------------------------------------
# Set Slicer_{C,CXX}_REQUIRED_FLAGS variables
#-----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment