Skip to content

Commit ccd06c8

Browse files
author
ximion
committed
Suppress cmake policy warning
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1399 6778bc44-b910-0410-a7a0-be141de4315d
1 parent 9450de0 commit ccd06c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/projectM-libvisual/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ cmake_minimum_required(VERSION 2.4.0)
33

44
INCLUDE(cmake/CPack-projectM.cmake)
55

6+
if(COMMAND cmake_policy)
7+
cmake_policy(SET CMP0003 NEW)
8+
endif(COMMAND cmake_policy)
9+
610
ADD_LIBRARY(projectM_libvisual SHARED actor_projectM.cpp lvtoprojectM.h ConfigFile.h ConfigFile.cpp)
711

812
INCLUDE(FindPkgConfig.cmake)

0 commit comments

Comments
 (0)