-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
* Properly handle lib prefix. * Removed unnecessary message.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,14 @@ | |
cmake_minimum_required (VERSION 3.1) | ||
project (aws-c-event-stream C) | ||
|
||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/lib/cmake") | ||
if (UNIX AND NOT APPLE) | ||
include(GNUInstallDirs) | ||
elseif(NOT DEFINED CMAKE_INSTALL_LIBDIR) | ||
set(CMAKE_INSTALL_LIBDIR "lib") | ||
This comment has been minimized.
Sorry, something went wrong. |
||
endif() | ||
|
||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake") | ||
This comment has been minimized.
Sorry, something went wrong.
krop
|
||
|
||
include(AwsCFlags) | ||
include(AwsSharedLibSetup) | ||
include(AwsSanitizers) | ||
|
1 comment
on commit ad9a8b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that this still does not address the issue of 32-bit vs. 64-bit library paths, see: #15
The default is already lib is the variable is unset