mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-27 14:17:08 +01:00
Allow API selection as a cmake option.
This commit is contained in:
1 parent
4a53ec8676
commit
f2be86a65e
3 files changed
+6
-2
No files matched your search
+4
-1
@@ -1,5 +1,8 @@
|
||||
# Create the VCMP library
|
||||
add_library(VCMP STATIC vcmp.h vcmp.c vcmp20.h vcmp21.h)
|
||||
# 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})
|
||||
|
||||
Reference in new issue
Block a user