From 5ee4de78ffcfb287ba29aaf2733010ce051d97b9 Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Fri, 31 Jul 2020 09:30:35 +0200 Subject: [PATCH] (#19) Updated CMakeLists.txt to reflect changes regarding OS specific source folders --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3be75a..daec205 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,11 +6,11 @@ project(libnut) # Source set(SOURCE_FILES "src/main.cc" "src/deadbeef_rand.c" "src/keycode.c" "src/keypress.c" "src/MMBitmap.c" "src/mouse.c" "src/screen.c" "src/screengrab.c") if (UNIX AND NOT APPLE) - set(SOURCE_FILES "${SOURCE_FILES}" "src/xdisplay.c" "src/highlightwindow_linux.c") + set(SOURCE_FILES "${SOURCE_FILES}" "src/linux/xdisplay.c" "src/linux/highlightwindow.c") elseif (UNIX AND APPLE) - set(SOURCE_FILES "${SOURCE_FILES}" "src/highlightwindow_macos.m") + set(SOURCE_FILES "${SOURCE_FILES}" "src/macos/highlightwindow.m") elseif (WIN32) - set(SOURCE_FILES "${SOURCE_FILES}" "src/highlightwindow_win32.c") + set(SOURCE_FILES "${SOURCE_FILES}" "src/win32/highlightwindow.c") endif() add_library(${PROJECT_NAME} SHARED ${SOURCE_FILES} ${CMAKE_JS_SRC})