Move GNUInstallDirs after the project languages

This commit is contained in:
Nicolas Werner 2021-01-21 19:23:21 +01:00
parent 3b0d14b1b9
commit db961204c8

View file

@ -72,12 +72,13 @@ if(${CMAKE_VERSION} VERSION_LESS "3.14.0")
endmacro() endmacro()
endif() endif()
project(nheko LANGUAGES CXX C)
include(GNUInstallDirs) include(GNUInstallDirs)
# Include Qt basic functions # Include Qt basic functions
include(QtCommon) include(QtCommon)
project(nheko LANGUAGES CXX C)
set(CPACK_PACKAGE_VERSION_MAJOR "0") set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "8") set(CPACK_PACKAGE_VERSION_MINOR "8")
set(CPACK_PACKAGE_VERSION_PATCH "0") set(CPACK_PACKAGE_VERSION_PATCH "0")