CMake: don't reset project() in a subdir

This commit is contained in:
Adriaan de Groot 2019-04-30 13:43:57 +02:00
parent a01262a535
commit 6b137d6fd2

View file

@ -1,5 +1,3 @@
project( calamares )
add_definitions( -DUIDLLEXPORT_PRO ) add_definitions( -DUIDLLEXPORT_PRO )
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" ) if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
@ -27,8 +25,6 @@ include_directories(
../libcalamaresui ../libcalamaresui
) )
include( GNUInstallDirs )
# Translations # Translations
include( CalamaresAddTranslations ) include( CalamaresAddTranslations )
add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} ) add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )