mirror of
https://github.com/edo9300/ygopro-core
synced 2026-08-25 16:23:07 -04:00
Changed macro for shared library build
This commit is contained in:
parent
89ba9aea14
commit
3b06ef2a68
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ find_package(Lua REQUIRED)
|
|||
add_library(ocgcore_static STATIC)
|
||||
add_library(ocgcore SHARED)
|
||||
|
||||
target_compile_definitions(ocgcore PUBLIC YGOPRO_BUILD_DLL)
|
||||
target_compile_definitions(ocgcore PUBLIC OCGCORE_EXPORT_FUNCTIONS)
|
||||
|
||||
target_compile_definitions(ocgcore PUBLIC LUA_COMPAT_5_2)
|
||||
target_compile_definitions(ocgcore_static PUBLIC LUA_COMPAT_5_2)
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ project "ocgcore"
|
|||
project "ocgcoreshared"
|
||||
kind "SharedLib"
|
||||
targetname "ocgcore"
|
||||
defines "YGOPRO_BUILD_DLL"
|
||||
defines "OCGCORE_EXPORT_FUNCTIONS"
|
||||
staticruntime "on"
|
||||
ocgcore_config()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue