From 0e87d7e5f0c6d7cbbac511b29fdc3d7536ad8415 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Wed, 25 Apr 2018 22:49:52 +0200 Subject: CMake: Fix WIN32 build CMAKE_BUILD_TYPE_INIT was ignored resulting in an unset build type. --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af0562079..99291c7e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,10 +6,6 @@ message("------------------------------") message("Source Dir: ${CMAKE_CURRENT_SOURCE_DIR}") message("Binary Dir: ${CMAKE_CURRENT_BINARY_DIR}") -include(CMakeScripts/HelperFunctions.cmake) -include(CMakeScripts/ConfigEnv.cmake) -include(CMakeScripts/ConfigPaths.cmake) - # ----------------------------------------------------------------------------- # CMake Configuration # ----------------------------------------------------------------------------- @@ -18,6 +14,10 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeScripts/Modules") # avoid having empty buildtype set(CMAKE_BUILD_TYPE_INIT "Release") +include(CMakeScripts/HelperFunctions.cmake) +include(CMakeScripts/ConfigEnv.cmake) +include(CMakeScripts/ConfigPaths.cmake) + project(inkscape) set(PROJECT_NAME inkscape) -- cgit v1.2.3