-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,6 +125,9 @@ string(SUBSTRING ${VERSION} 0 1 GENERIC_LIB_SOVERSION) | |
include(CheckCXXCompilerFlag) | ||
include(AddCXXCompilerFlag) | ||
include(CXXFeatureCheck) | ||
include(CheckLibraryExists) | ||
|
||
check_library_exists(rt shm_open "" HAVE_LIB_RT) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
sergiud
Author
Contributor
|
||
|
||
if (BENCHMARK_BUILD_32_BITS) | ||
add_required_cxx_compiler_flag(-m32) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
include (CMakeFindDependencyMacro) | ||
|
||
find_dependency (Threads) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") |
@sergiud , can this succeed but not be sufficient for
target_link_libraries
to know how to pass the right flag to the linker, i.e. shouldfind_library
still be used? See https://reviews.llvm.org/D121343#inline-1176497