diff --git a/cmake/compilerDefinitions.cmake b/cmake/compilerDefinitions.cmake index d36984c70..bf783bd0a 100644 --- a/cmake/compilerDefinitions.cmake +++ b/cmake/compilerDefinitions.cmake @@ -26,4 +26,5 @@ if (ENABLE_CHECK_INTERNAL) add_definitions(-DCHECK_INTERNAL) endif() -add_definitions(-DFILESDIR="${FILESDIR}") +file(TO_CMAKE_PATH ${FILESDIR} _filesdir) +add_definitions(-DFILESDIR="${_filesdir}")