diff --git a/CMake/macros.cmake b/CMake/macros.cmake index 43da7c7df..e54d98455 100644 --- a/CMake/macros.cmake +++ b/CMake/macros.cmake @@ -85,7 +85,7 @@ macro(FL_ADD_LIBRARY LIBNAME LIBTYPE LIBFILES) if (MSVC) if (OPTION_LARGE_FILE) - set_target_properties(${LIBRARYNAME} + set_target_properties(${LIBRARY_NAME} PROPERTIES LINK_FLAGS /LARGEADDRESSAWARE )