mirror of
https://github.com/izzy2lost/libultraship.git
synced 2026-06-19 01:16:13 -07:00
Added option to specify gbi (#619)
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ set(EXCLUDE_MPQ_SUPPORT FALSE CACHE BOOL "Exclude StormLib and MPQ archive suppo
|
||||
if(EXCLUDE_MPQ_SUPPORT)
|
||||
add_compile_definitions(EXCLUDE_MPQ_SUPPORT)
|
||||
endif()
|
||||
option(USE_F3DEX2 "Use F3DEX_GBI_2" OFF)
|
||||
option(GBI_UCODE "Specify the GBI ucode version" F3DEX_GBI_2)
|
||||
|
||||
# =========== Dependencies =============
|
||||
include(cmake/dependencies/common.cmake)
|
||||
|
||||
+1
-3
@@ -217,9 +217,7 @@ endif()
|
||||
|
||||
#=================== Compile Options & Defs ===================
|
||||
|
||||
if(USE_F3DEX2)
|
||||
target_compile_definitions(libultraship PRIVATE F3DEX_GBI_2)
|
||||
endif()
|
||||
target_compile_definitions(libultraship PRIVATE ${GBI_UCODE})
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_compile_definitions(${PROJECT_NAME} PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user