Resolve CI failure with MinGW

This commit is contained in:
myd7349 2019-04-09 20:41:40 +08:00
parent 5134a3b61d
commit 148eefb9bb
1 changed files with 4 additions and 2 deletions

View File

@ -188,10 +188,12 @@ if(SHARED)
PUBLIC ${GRAPHICS}
)
target_compile_definitions(raylib
if(MSVC)
target_compile_definitions(raylib
PRIVATE $<BUILD_INTERFACE:BUILD_LIBTYPE_SHARED>
INTERFACE $<INSTALL_INTERFACE:USE_LIBTYPE_SHARED>
)
)
endif()
set(PKG_CONFIG_LIBS_EXTRA "")