Skip to content

Commit 816478d

Browse files
author
timlinux
committedJan 7, 2009

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,15 @@ ELSE (WIN32)
253253
ENDIF (WIN32)
254254

255255

256+
#assume we have excaped compiler directives
257+
#eventually we want to change this to new
258+
#since we dont need to jump through so many
259+
#hoops to escape compiler directives then
260+
IF(COMMAND cmake_policy)
261+
cmake_policy(SET CMP0003 NEW)
262+
cmake_policy(SET CMP0005 OLD)
263+
ENDIF(COMMAND cmake_policy)
264+
256265
IF (WIN32)
257266
# expect that classes are being imported
258267
# Note: MSVC doesn't like when the macros are quotes

0 commit comments

Comments
 (0)
Please sign in to comment.