Fix CMake build (#173)
* Fix CMake build after Swissmap addition `absl::container` library now contains source files so needs to be respectively built for CMake as well. Switches `absl::container` from being a header library to a source library. * Add raw_hash_set_test to CMake test build
This commit is contained in:
parent
48cd2c3f35
commit
5aae0cffae
1 changed files with 11 additions and 2 deletions
|
@ -47,10 +47,11 @@ list(APPEND CONTAINER_INTERNAL_HEADERS
|
|||
"internal/unordered_set_modifiers_test.h"
|
||||
)
|
||||
|
||||
|
||||
absl_header_library(
|
||||
absl_library(
|
||||
TARGET
|
||||
absl_container
|
||||
SOURCES
|
||||
"internal/raw_hash_set.cc"
|
||||
EXPORT_NAME
|
||||
container
|
||||
)
|
||||
|
@ -164,3 +165,11 @@ absl_test(
|
|||
)
|
||||
|
||||
|
||||
absl_test(
|
||||
TARGET
|
||||
raw_hash_set_test
|
||||
SOURCES
|
||||
"internal/raw_hash_set_test.cc"
|
||||
PUBLIC_LIBRARIES
|
||||
absl::base absl::hash absl_throw_delegate test_instance_tracker_lib
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue