diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ae78b25..e1d8fa0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -67,7 +67,7 @@ if (UNIX) RESULT_VARIABLE UNIX_PS_CODE OUTPUT_VARIABLE UNIX_PS_STDOUT) if (UNIX_PS_CODE EQUAL 0) - set (CAL_PAGE_SIZE "${UNIX_PS_STDOUT}") + string (STRIP "${UNIX_PS_STDOUT}" CAL_PAGE_SIZE) endif () endif (UNIX) if (NOT DEFINED CAL_PAGE_SIZE)