1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-07 13:27:13 +01:00
SqMod/vcmp/CMakeLists.txt

9 lines
275 B
CMake
Raw Normal View History

# Create the VCMP library
add_library(VCMP STATIC vcmp.h vcmp.c vcmp20.h vcmp21.h)
2020-05-01 20:41:00 +03:00
# Checkf for API version
if (ENABLE_API21)
target_compile_definitions(VCMP PUBLIC VCMP_SDK_2_1=1)
endif()
# Library includes
target_include_directories(VCMP PUBLIC ${CMAKE_CURRENT_LIST_DIR})