looking-glass/common/CMakeLists.txt

23 lines
363 B
CMake
Raw Normal View History

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)
endif()
#target_link_libraries(lg_common
#)
target_include_directories(lg_common
INTERFACE
include
PRIVATE
src
)