summaryrefslogtreecommitdiffstats
path: root/Modules/FindFLTK2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindFLTK2.cmake')
-rw-r--r--Modules/FindFLTK2.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindFLTK2.cmake b/Modules/FindFLTK2.cmake
index 3ea558c..071c318 100644
--- a/Modules/FindFLTK2.cmake
+++ b/Modules/FindFLTK2.cmake
@@ -73,7 +73,7 @@ if(NOT FLTK2_DIR)
#
find_path(FLTK2_DIR FLTK2Config.cmake
# Look for an environment variable FLTK2_DIR.
- $ENV{FLTK2_DIR}
+ ENV FLTK2_DIR
# Look in places relative to the system executable search path.
${FLTK2_DIR_SEARCH}