瀏覽代碼

Merge commit 'b3159714dbb1afe1de9a32e86f9ed8e40ae543af' into main

Sam Lantinga 2 年之前
父節點
當前提交
c01ad8e24a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      CMakeLists.txt

+ 2 - 0
CMakeLists.txt

@@ -485,6 +485,8 @@ dep_option(SDL_STATIC_PIC      "Static version of the library should be built wi
 dep_option(SDL_TESTS           "Build the test directory" OFF SDL_TEST OFF)
 set_option(SDL_INSTALL_TESTS   "Install test-cases" OFF)
 
+set(HAVE_STATIC_PIC "${SDL_STATIC_PIC}")
+
 if(VITA)
   set_option(VIDEO_VITA_PIB  "Build with PSVita piglet gles2 support" OFF)
   set_option(VIDEO_VITA_PVR  "Build with PSVita PVR gles/gles2 support" OFF)