File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_library(Live2DCubismCore STATIC IMPORTED)
33if (CMAKE_SYSTEM_NAME MATCHES "Linux" )
44 set (CSM_TARGET CSM_TARGET_LINUX_GL)
55 set (CORE_LIB_NAME linux/x86_64/libLive2DCubismCore.a)
6- add_definitions (-fPIC)
6+ add_compile_options (-fPIC)
77elseif (CMAKE_SYSTEM_NAME MATCHES "Windows" )
88 set (CSM_TARGET CSM_TARGET_WIN_GL)
99 if (CMAKE_CL_64 )
Original file line number Diff line number Diff line change @@ -2,13 +2,12 @@ get_filename_component(LIVE2D_ROOT ${CMAKE_CURRENT_LIST_DIR} DIRECTORY)
22
33message ("Live2D Python Root: ${LIVE2D_ROOT} " )
44
5+ include (${CMAKE_CURRENT_LIST_DIR} /Core.cmake)
56if (CMAKE_SYSTEM_NAME MATCHES "Android" )
67else ()
78 include (${CMAKE_CURRENT_LIST_DIR} /Glad.cmake)
89 add_library (Live2D::Glad ALIAS glad)
910endif ()
10-
11- include (${CMAKE_CURRENT_LIST_DIR} /Core.cmake)
1211include (${CMAKE_CURRENT_LIST_DIR} /Framework .cmake)
1312include (${CMAKE_CURRENT_LIST_DIR} /Main.cmake)
1413
You can’t perform that action at this time.
0 commit comments