mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
21 lines
365 B
CMake
21 lines
365 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(lg_common LANGUAGES C)
|
|
|
|
include_directories(
|
|
${PROJECT_SOURCE_DIR}/include
|
|
)
|
|
|
|
if(WIN32)
|
|
add_library(lg_common STATIC src/crash.windows.c)
|
|
else()
|
|
add_library(lg_common STATIC src/crash.linux.c)
|
|
target_link_libraries(lg_common bfd)
|
|
endif()
|
|
|
|
target_include_directories(lg_common
|
|
INTERFACE
|
|
include
|
|
PRIVATE
|
|
src
|
|
)
|