diff options
author | Michael Schroeder <mls@suse.de> | 2013-06-10 14:03:02 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-06-10 14:03:02 +0200 |
commit | dc40b0182fc9fee971d5b7ecb7f91200b3030bb7 (patch) | |
tree | eb26a7765483220c79831a8ee83c2c858d7a9802 /CMakeLists.txt | |
parent | 4deb3d868bc369322b2b9f3c8e5f7ba0df75e3c0 (diff) | |
download | libsolv-dc40b0182fc9fee971d5b7ecb7f91200b3030bb7.tar.gz libsolv-dc40b0182fc9fee971d5b7ecb7f91200b3030bb7.tar.bz2 libsolv-dc40b0182fc9fee971d5b7ecb7f91200b3030bb7.zip |
cmake has some pitfalls
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 33121ac..7d5b218 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,9 +47,10 @@ ENDIF (DEFINED LIB) MESSAGE (STATUS "Libraries will be installed in ${LIB_INSTALL_DIR}") SET (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin") SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man") -IF (IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/share/man") AND NOT IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/man")) +IF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/share/man" AND NOT IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man") SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man") -ENDIF (IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/share/man") AND NOT IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/man")) +ENDIF (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/share/man" AND NOT IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/man") +MESSAGE(STATUS "Man pages will be installed in ${MAN_INSTALL_DIR}") #################################################################### # CONFIGURATION # |