Skip to content

Commit

Permalink
Resolve CI failure with MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
myd7349 committed Apr 9, 2019
1 parent 5134a3b commit 148eefb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "")

Expand Down

0 comments on commit 148eefb

Please sign in to comment.