summaryrefslogtreecommitdiffstats
path: root/Modules/FindSDL_sound.cmake
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-05-13 09:02:19 (GMT)
committerDaniele E. Domenichelli <daniele.domenichelli@iit.it>2014-05-19 14:55:12 (GMT)
commit1890c668e92b8bcd60075cf0a5a70411da2a2444 (patch)
tree20a9326c8c3ceb0261ffc8147f53cdcbbc93df34 /Modules/FindSDL_sound.cmake
parent81a3f228824058849368f9c3a8e318c02fa03097 (diff)
downloadCMake-1890c668e92b8bcd60075cf0a5a70411da2a2444.zip
CMake-1890c668e92b8bcd60075cf0a5a70411da2a2444.tar.gz
CMake-1890c668e92b8bcd60075cf0a5a70411da2a2444.tar.bz2
Keep cmake_minimum_required calls in sync with current version
Update cmake_minimum_required calls in CMakeLists.txt in Modules and in CMakeLists.txt generated by other modules, so that they are always in sync with current CMake version.
Diffstat (limited to 'Modules/FindSDL_sound.cmake')
-rw-r--r--Modules/FindSDL_sound.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSDL_sound.cmake b/Modules/FindSDL_sound.cmake
index 8b22ff7..5fa40a5 100644
--- a/Modules/FindSDL_sound.cmake
+++ b/Modules/FindSDL_sound.cmake
@@ -183,7 +183,7 @@ if(SDL_FOUND AND SDL_SOUND_INCLUDE_DIR AND SDL_SOUND_LIBRARY)
# in the SDL_LIBRARY string after the "-framework".
# But if I quote the stuff in INCLUDE_DIRECTORIES, it doesn't work.
file(WRITE ${PROJECT_BINARY_DIR}/CMakeTmp/CMakeLists.txt
- "cmake_minimum_required(VERSION 2.8)
+ "cmake_minimum_required(VERSION ${CMAKE_VERSION})
project(DetermineSoundLibs)
include_directories(${SDL_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR})
add_executable(DetermineSoundLibs DetermineSoundLibs.c)