mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 16:05:29 +03:00
minor cmakelists change to improve the overall user experience
This commit is contained in:
parent
0026653033
commit
b4c04b016a
@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.2)
|
||||
project(LightSwitch VERSION 1 LANGUAGES CXX)
|
||||
set_property(GLOBAL PROPERTY CMAKE_CXX_STANDARD 17 PROPERTY CMAKE_CXX_STANDARD_REQUIRED TRUE)
|
||||
|
||||
set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp/)
|
||||
include_directories(${source_DIR}include/)
|
||||
add_library(lightswitch SHARED ${source_DIR}lightswitch.cpp)
|
||||
set(source_DIR ${CMAKE_SOURCE_DIR}/src/main/cpp)
|
||||
include_directories(${source_DIR}/include/)
|
||||
add_library(lightswitch SHARED ${source_DIR}/lightswitch.cpp)
|
||||
target_link_libraries(lightswitch ${source_DIR}/lib/${ANDROID_ABI}/libunicorn.a)
|
Loading…
Reference in New Issue
Block a user