From f7b50362c4c2dfd33b90f018a058b4604da006f8 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 24 Nov 2014 09:35:04 +0000 Subject: [CMake] Fix CMake 3.1 warning about new policy CMP0053. CMake Warning (dev) at CMake/export.cmake:48 (set): Policy CMP0053 is not set: Simplify variable reference and escape sequence evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Changed old-style @variable@ replacement to ${variable}. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CMake/install.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMake/install.cmake') diff --git a/CMake/install.cmake b/CMake/install.cmake index c585ebe2f..2e8f76c96 100644 --- a/CMake/install.cmake +++ b/CMake/install.cmake @@ -43,7 +43,7 @@ endif(OPTION_CREATE_LINKS) # generate FLTKConfig.cmake for installed directory use set(INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX}/include) -set(CONFIG_PATH ${CMAKE_INSTALL_PREFIX}/@FLTK_CONFIG_PATH@) +set(CONFIG_PATH ${CMAKE_INSTALL_PREFIX}/${FLTK_CONFIG_PATH}) install(EXPORT FLTK-Targets DESTINATION ${FLTK_CONFIG_PATH} -- cgit v1.2.3