mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-05-13 18:09:33 +00:00
try fix android build
This commit is contained in:
parent
3799ae8a9c
commit
2188879698
@ -21,7 +21,12 @@ file(GLOB SOURCE_CPP
|
||||
"*.cpp" "*.qrc"
|
||||
)
|
||||
|
||||
add_executable(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
if (ANDROID)
|
||||
add_library(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
else()
|
||||
add_executable(${CURRENT_PROJECT} ${SOURCE_CPP})
|
||||
endif()
|
||||
|
||||
target_link_libraries(${CURRENT_PROJECT} PRIVATE QmlNotyfyService HanoiTowersProtockol LoginView Credits)
|
||||
target_include_directories(${CURRENT_PROJECT} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user