Moved all CMake modules and launcher templates to designated directory

Let's not pollute root directory with various files
This commit is contained in:
alexey.lysiuk 2017-04-23 12:23:56 +03:00
parent c519e76280
commit 680d1b2dd6
16 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,7 @@ if( COMMAND cmake_policy )
endif()
endif()
list( APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} )
list( APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
include( CreateLaunchers )
include( FindPackageHandleStandardArgs )
@ -148,8 +148,6 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
set( PROFILE 0 CACHE BOOL "Enable profiling with gprof for Debug and RelWithDebInfo build types." )
endif()
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
option( NO_OPENAL "Disable OpenAL sound support" OFF )
find_package( BZip2 )

View File

@ -1,6 +1,6 @@
cmake_minimum_required( VERSION 2.8.7 )
include(../precompiled_headers.cmake)
include(precompiled_headers)
if( COMMAND cmake_policy )
cmake_policy( SET CMP0003 NEW )