Skip to content

Commit 1593f9c

Browse files
author
w1z7ard
committed
no more cmake warnings!
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/represet@1198 6778bc44-b910-0410-a7a0-be141de4315d
1 parent 0c9d201 commit 1593f9c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/projectM-libvisual/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
PROJECT(projectM_libvisual)
2+
3+
if(COMMAND cmake_policy)
4+
cmake_policy(SET CMP0003 NEW)
5+
endif(COMMAND cmake_policy)
6+
7+
28
ADD_LIBRARY(projectM_libvisual SHARED actor_projectM.cpp lvtoprojectM.h ConfigFile.h ConfigFile.cpp)
39

410
INCLUDE(FindPkgConfig.cmake)
11+
cmake_policy(SET CMP0005 OLD)
512

613
FIND_PACKAGE(OpenGL)
714
FIND_PACKAGE(SDL)

0 commit comments

Comments
 (0)