Skip to content

Commit 8c7c38c

Browse files
committed
Link dir needed to be passed up the chain, and windows use better package
1 parent f0e0f51 commit 8c7c38c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/cmake_windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
make
2525
zlib
2626
mingw-w64-ucrt-x86_64-qt6-base
27-
mingw-w64-gtkmm-4.0
27+
mingw-w64-ucrt-x86_64-gtkmm-4.0
2828
pacboy: >-
2929
toolchain:p
3030
cmake:p

gtk/CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ add_library(pq2gtk SHARED ${SOURCE_FILES})
4646
add_dependencies(pq2gtk dummy-resource)
4747

4848
target_link_libraries(pq2gtk pq2gui pq2game pq2utils ${GTKMM_LIBRARIES})
49-
target_link_directories(pq2gtk PRIVATE ${GTKMM_LIBRARY_DIRS})
49+
target_link_directories(pq2gtk
50+
PRIVATE ${GTKMM_LIBRARY_DIRS}
51+
INTERFACE ${GTKMM_LIBRARY_DIRS}
52+
)
5053
target_include_directories(pq2gtk
5154
PRIVATE pq2gui pq2game pq2utils ${GTKMM_INCLUDE_DIRS}
5255
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${GTKMM_INCLUDE_DIRS}

0 commit comments

Comments
 (0)