Changed macro for shared library build

This commit is contained in:
edo9300 2019-09-20 17:10:53 +02:00
parent 89ba9aea14
commit 3b06ef2a68
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -72,7 +72,7 @@ project "ocgcore"
project "ocgcoreshared"
kind "SharedLib"
targetname "ocgcore"
defines "YGOPRO_BUILD_DLL"
defines "OCGCORE_EXPORT_FUNCTIONS"
staticruntime "on"
ocgcore_config()