another minor change

This commit is contained in:
Starlet Leonhart 2019-06-29 09:56:13 -04:00
parent b4c04b016a
commit 48338f9459

View File

@ -1,8 +1,8 @@
cmake_minimum_required (VERSION 3.2) cmake_minimum_required (VERSION 3.2)
project(LightSwitch VERSION 1 LANGUAGES CXX) project(Lightswitch VERSION 1 LANGUAGES CXX)
set_property(GLOBAL PROPERTY CMAKE_CXX_STANDARD 17 PROPERTY CMAKE_CXX_STANDARD_REQUIRED TRUE) set_property(GLOBAL PROPERTY CMAKE_CXX_STANDARD 17 PROPERTY CMAKE_CXX_STANDARD_REQUIRED TRUE)
set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp) set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp)
include_directories(${source_DIR}/include/) include_directories(${source_DIR}/include)
add_library(lightswitch SHARED ${source_DIR}/lightswitch.cpp) add_library(lightswitch SHARED ${source_DIR}/lightswitch.cpp)
target_link_libraries(lightswitch ${source_DIR}/lib/${ANDROID_ABI}/libunicorn.a) target_link_libraries(lightswitch ${source_DIR}/lib/${ANDROID_ABI}/libunicorn.a)