Skip to content

Commit f0e0f51

Browse files
committed
Add link directory info and windows workflow attempt
1 parent 527c207 commit f0e0f51

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/cmake_windows.yml

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

gtk/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ 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})
4950
target_include_directories(pq2gtk
5051
PRIVATE pq2gui pq2game pq2utils ${GTKMM_INCLUDE_DIRS}
5152
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${GTKMM_INCLUDE_DIRS}

0 commit comments

Comments
 (0)