summaryrefslogtreecommitdiff
path: root/CMake/resources.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/resources.cmake')
-rw-r--r--CMake/resources.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/resources.cmake b/CMake/resources.cmake
index 259afabb6..ae49b721d 100644
--- a/CMake/resources.cmake
+++ b/CMake/resources.cmake
@@ -187,8 +187,8 @@ if(HAVE_SCANDIR AND NOT HAVE_SCANDIR_POSIX)
set(MSG "POSIX compatible scandir")
message(STATUS "Looking for ${MSG}")
try_compile(V
- ${FLTK_BINARY_DIR}
- ${FLTK_SOURCE_DIR}/CMake/posixScandir.cxx
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/CMake/posixScandir.cxx
)
if(V)
message(STATUS "${MSG} - found")