]> Creatis software - cpPlugins.git/blobdiff - CMakeLists.txt
...
[cpPlugins.git] / CMakeLists.txt
index c3431881383059eae5e5ce49e47a9cb3f9ed6f74..a9a846f8741ac8734472d117d79837bb56eea42f 100644 (file)
@@ -20,6 +20,7 @@ foreach(_p ${_policies})
     cmake_policy(SET ${_p} NEW)
   endif(POLICY ${_p})
 endforeach(_p)
+cmake_policy(SET CMP0006 OLD)
 
 ## == Some general configuration
 include(cmake/cpPlgDefinitions.cmake)
@@ -63,14 +64,4 @@ include(cmake/cpPlgInstallCommands.cmake)
 ## == CMake scripts
 subdirs(cmake)
 
-## == Uninstall target
-configure_file(
-  "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
-  "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
-  IMMEDIATE @ONLY
-  )
-add_custom_target(
-  uninstall
-  COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
-
 ## eof - $RCSfile$