Address comments from #472

Resolves #508.

Signed-off-by: Tobias Kortkamp <t@tobik.me>
This commit is contained in:
Tobias Kortkamp 2019-02-03 07:35:30 +01:00 committed by derselbst
parent 22dd94fc5c
commit ff6377a3bd
2 changed files with 4 additions and 4 deletions

View file

@ -93,12 +93,12 @@ if ( CMAKE_SYSTEM MATCHES "OS2" )
endif ( CMAKE_SYSTEM MATCHES "OS2" )
# Initialize the library directory name suffix.
if (NOT MINGW AND NOT MSVC)
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
if (NOT MINGW AND NOT MSVC AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
if ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set ( _init_lib_suffix "64" )
else ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
set ( _init_lib_suffix "" )
endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
endif ( CMAKE_SIZEOF_VOID_P EQUAL 8 )
else ()
set ( _init_lib_suffix "" )
endif()

View file

@ -53,7 +53,7 @@ set (INFO_INSTALL_DIR "share/info" CACHE STRING "The info install dir")
mark_as_advanced (INFO_INSTALL_DIR)
# MAN_INSTALL_DIR - the man pages install dir
if ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD|DragonFly")
if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD|DragonFly")
set (MAN_INSTALL_DIR "man/man1" CACHE STRING "The man pages install dir")
else()
set (MAN_INSTALL_DIR "share/man/man1" CACHE STRING "The man pages install dir")