diff --git a/CMakeLists.txt b/CMakeLists.txt index 30f8199..a2c4cb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 2.8.5) +project(libsoundio C CXX) +set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) if(CMAKE_VERSION VERSION_LESS 3.0.0) set(CMAKE_INSTALL_LIBDIR "lib" CACHE PATH "library install dir (lib)") @@ -15,9 +17,6 @@ if(NOT CMAKE_BUILD_TYPE) "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE) endif() -project(libsoundio C CXX) -set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH}) - set(LIBSOUNDIO_VERSION_MAJOR 1) set(LIBSOUNDIO_VERSION_MINOR 0) set(LIBSOUNDIO_VERSION_PATCH 1)