diff --git a/CMakeLists.txt b/CMakeLists.txt index 68566ac554..d5723c65ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,6 @@ if(POLICY CMP0025) cmake_policy(SET CMP0025 NEW) # CMake 3.0 endif() -project( kicad ) - # Default to CMAKE_BUILD_TYPE = Release unless overridden on command line # http://www.cmake.org/pipermail/cmake/2008-September/023808.html if( DEFINED CMAKE_BUILD_TYPE ) @@ -40,6 +38,8 @@ else() set( CMAKE_BUILD_TYPE Release CACHE STRING "Set to either \"Release\" or \"Debug\"" ) endif() +project( kicad ) + include( GNUInstallDirs ) # Path to local CMake modules.