blob: c31e4ba03be252dd87a46f75be72536e0e452ed2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Prevent duplicate errors on some platforms.
set(CMAKE_IMPORT_LIBRARY_SUFFIX "placeholder")
add_library(unknown_lib UNKNOWN IMPORTED)
add_library(static_lib STATIC IMPORTED)
add_library(shared_lib SHARED IMPORTED)
add_library(interface_lib INTERFACE IMPORTED)
add_library(module MODULE module.cpp)
target_link_libraries(module unknown_lib static_lib shared_lib interface_lib)
|