summaryrefslogtreecommitdiff
path: root/cmake/scripts/FindVersion.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/scripts/FindVersion.cmake')
-rw-r--r--cmake/scripts/FindVersion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/FindVersion.cmake b/cmake/scripts/FindVersion.cmake
index 6e4a2b390..43255e801 100644
--- a/cmake/scripts/FindVersion.cmake
+++ b/cmake/scripts/FindVersion.cmake
@@ -138,7 +138,7 @@ else()
configure_file("${CMAKE_SOURCE_DIR}/src/rev.cpp.in"
"${FIND_VERSION_BINARY_DIR}/rev.cpp")
- if(WIN32)
+ if(WINDOWS)
message(STATUS "Generating ottdres.rc")
configure_file("${CMAKE_SOURCE_DIR}/src/os/windows/ottdres.rc.in"
"${FIND_VERSION_BINARY_DIR}/ottdres.rc")