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 )
if( NOT CMAKE_BUILD_TYPE STREQUAL "Release" )
@ -27,8 +25,6 @@ include_directories(
../libcalamaresui
)
include( GNUInstallDirs )
# Translations
include( CalamaresAddTranslations )
add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )