Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c73688a

Browse files
committedJul 5, 2021
fixup
1 parent 77753c8 commit c73688a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎skeleton/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ target_include_directories(librw_skeleton
4444
# TODO: Use SDL_main on platforms that require it
4545
if(MINGW AND LIBRW_PLATFORM_D3D9)
4646
add_library(librw_skeleton_main INTERFACE)
47-
find_library(MINGW32_LIBRARY NAMES mingw32)
48-
target_link_libraries(librw_skeleton_main INTERFACE ${MINGW32_LIBRARY} librw_skeleton)
47+
target_link_libraries(librw_skeleton_main INTERFACE -lmingw32 librw_skeleton)
4948
add_library(librw::skeleton ALIAS librw_skeleton_main)
5049
else()
5150
add_library(librw::skeleton ALIAS librw_skeleton)

0 commit comments

Comments
 (0)
Please sign in to comment.