From 3eb6b7ea5843559d45806d20729934abd5fc3911 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 29 Jun 2017 17:51:27 +0000 Subject: CMake: replace improperly used variables with correct ones. CMake variables FLTK_SOURCE_DIR and FLTK_BINARY_DIR are only defined if the project name is exactly "FLTK" (all uppercase). These variables are generated (set) by CMake as _SOURCE_DIR etc. The correct variables are CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR, respectively, which are always defined. This commit enables future changes of the FLTK project name, e.g. to "fltk" or "fltk-1.4.0" (a versioned project name), if we like... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index cf2e90c9d..e118d7c86 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ # ####################################################################### -set(EXECUTABLE_OUTPUT_PATH ${FLTK_BINARY_DIR}/bin/examples) +set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin/examples) ####################################################################### # audio libs for test apps -- cgit v1.2.3