Zelda64Recomp/lib/GamepadMotionHelpers/CMakeLists.txt

11 lines
353 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.8)
project(GamepadMotionHelpers LANGUAGES CXX)
add_library(${PROJECT_NAME} INTERFACE)
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
target_include_directories(${PROJECT_NAME}
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)