From 0eeb50da2d27fb5fdd986bbe01457349da4d1821 Mon Sep 17 00:00:00 2001 From: raicool Date: Thu, 17 Aug 2023 21:24:11 -0400 Subject: [PATCH] update CMakeFiles.txt --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 355c794..7fb1a24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,9 +49,9 @@ if (UNIX) # gtkmm 2.4 find_package(PkgConfig) pkg_check_modules(GTKMM gtkmm-2.4) - target_link_libraries(${PROJECT_NAME} PRIVATE ${GTKMM_LIBRARIES}) - target_link_directories(${PROJECT_NAME} PRIVATE ${GTKMM_LIBRARY_DIRS}) - target_include_directories(${PROJECT_NAME} PRIVATE ${GTKMM_INCLUDE_DIRS}) + link_libraries(${PROJECT_NAME} ${GTKMM_LIBRARIES}) + link_directories(${PROJECT_NAME} PRIVATE ${GTKMM_LIBRARY_DIRS}) + include_directories(${PROJECT_NAME} PRIVATE ${GTKMM_INCLUDE_DIRS}) # osdialog target_include_directories(${PROJECT_NAME} PRIVATE "dep/osdialog") endif()