Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
386465bf8396dca8d00448b23734bc5edafb17c8
/
.
/
Tests
/
RunCMake
/
add_library
/
MODULEwithNoSourcesButLinkObjects.cmake
blob: f9d00dea8be04aa42b1a084933762d62098f5e61 [
file
] [
log
] [
blame
]
enable_language
(
CXX
)
add_library
(
ObjectLibDependency
OBJECT test
.
cpp
)
add_library
(
TestModuleLibWithoutSources
MODULE
)
target_link_libraries
(
TestModuleLibWithoutSources
PUBLIC $
<
TARGET_OBJECTS
:
ObjectLibDependency
>)