Skip to content

Commit

Permalink
library location on BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
pvanek committed Oct 18, 2010
1 parent b5a79e1 commit 1b86d19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,15 @@ IF (NOT LIB_SUFFIX)
MESSAGE(STATUS " LIB_SUFFIX is set to '${LIB_SUFFIX}'")
endif (CMAKE_SIZEOF_VOID_P EQUAL 4)
ELSE (NOT APPLE)
message(STATUS "LIB_SUFFIX is disabled for APPLE: ${CMAKE_SYSTEM_NAME}")
SET (LIB_SUFFIX "")
ENDIF (NOT APPLE)
# BSD does not use lib64 for 64bit libs
IF (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
message(STATUS "LIB_SUFFIX is disabled for *BSD: ${CMAKE_SYSTEM_NAME}")
SET (LIB_SUFFIX "")
ENDIF()
#
MESSAGE(STATUS "")
ENDIF (NOT LIB_SUFFIX)

Expand Down

0 comments on commit 1b86d19

Please sign in to comment.