File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 16
16
17
17
- name : Download dependencies
18
18
if : matrix.os == 'ubuntu-latest'
19
- run : sudo apt install build-essential pkgconf autoconf libtool libx11-dev libxft-dev libxext-dev libwayland-dev libxkbcommon-dev libegl1 -mesa-dev libibus-1.0-dev
19
+ run : sudo apt install build-essential pkgconf autoconf libtool libx11-dev libxft-dev libxext-dev libwayland-dev libxkbcommon-dev libgl1 -mesa-dev libibus-1.0-dev libcurl4-openssl -dev
20
20
21
21
- name : Get latest CMake if possible
22
22
uses : lukka/get-cmake@latest
Original file line number Diff line number Diff line change @@ -289,10 +289,6 @@ if( D3_COMPILER_IS_GCC_OR_CLANG )
289
289
if ( cxx_has_Wno-cpp20-compat )
290
290
set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++20-compat" )
291
291
endif ()
292
-
293
- if ( NOT MSVC )
294
- find_package ( OpenSSL REQUIRED )
295
- endif ()
296
292
297
293
if (APPLE )
298
294
add_definitions (-DMACOS_X=1 )
@@ -325,15 +321,15 @@ if( D3_COMPILER_IS_GCC_OR_CLANG )
325
321
message ( FATAL_ERROR "Unsupported CPU architecture for OSX" )
326
322
endif ()
327
323
328
- set ( sys_libs ${sys_libs} "OpenSSL::SSL OpenSSL::Crypto -framework Carbon -framework Cocoa -framework IOKit" )
324
+ set ( sys_libs ${sys_libs} "-framework Carbon -framework Cocoa -framework IOKit" )
329
325
elseif ( WIN32 )
330
326
# use 8MB stack instead of 1MB, so big models don't overflow it with _alloca()
331
327
set ( ldflags "${ldflags} -static-libgcc -static-libstdc++ -Wl, --large-address-aware --stack,8388608" )
332
328
elseif ( os STREQUAL "linux" )
333
- set ( sys_libs ${sys_libs} dl OpenSSL::SSL OpenSSL::Crypto rt )
329
+ set ( sys_libs ${sys_libs} dl )
334
330
elseif ( os STREQUAL "freebsd" )
335
331
find_library ( EXECINFO_LIBRARIES execinfo /usr/lib /usr/local/lib )
336
- set ( sys_libs ${sys_libs} OpenSSL::SSL OpenSSL::Crypto rt ${EXECINFO_LIBRARIES} )
332
+ set ( sys_libs ${sys_libs} ${EXECINFO_LIBRARIES} )
337
333
endif ()
338
334
elseif ( MSVC )
339
335
add_compile_options ( /MP ) # parallel build (use all cores, or as many as configured in VS)
Original file line number Diff line number Diff line change 2
2
"name" : " d3moddingkit" ,
3
3
"version" : " 0.0.1" ,
4
4
"dependencies" : [
5
- " curl" ,
5
+ {
6
+ "name" : " curl" ,
7
+ "platform" : " !linux"
8
+ },
6
9
" openal-soft" ,
7
10
" sdl2" ,
8
11
{
13
16
{
14
17
"name" : " freetype" ,
15
18
"default-features" : false ,
16
- "features" : [" error-strings" ," subpixel-rendering" ]
19
+ "features" : [ " error-strings" , " subpixel-rendering" ]
17
20
}
18
21
]
19
22
}
You can’t perform that action at this time.
0 commit comments