We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a7375 commit b4d4bc7Copy full SHA for b4d4bc7
cmake/AwsSharedLibSetup.cmake
@@ -16,6 +16,13 @@ set(LIBRARY_DIRECTORY lib)
16
if (UNIX AND NOT APPLE)
17
include(GNUInstallDirs)
18
set(LIBRARY_DIRECTORY ${CMAKE_INSTALL_LIBDIR})
19
+
20
+ # this is the absolute dumbest thing in the world, but find_package won't work without it
21
+ # also I verified this is correctly NOT "lib64" when CMAKE_C_FLAGS includes "-m32"
22
+ if (${LIBRARY_DIRECTORY} STREQUAL "lib64")
23
+ set(FIND_LIBRARY_USE_LIB64_PATHS true)
24
+ endif()
25
26
endif()
27
28
function(aws_prepare_shared_lib_exports target)
0 commit comments