Skip to content

Commit

Permalink
(#8) Updated source files
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed May 5, 2020
1 parent fe1c0ec commit d8b66ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set(CMAKE_CXX_STANDARD 17)
project(libnut)

# Source
set(SOURCE_FILES "src/libnut.cc" "src/deadbeef_rand.c" "src/mouse.c" "src/keypress.c" "src/keycode.c" "src/screen.c" "src/screengrab.c" "src/snprintf.c" "src/MMBitmap.c")
set(SOURCE_FILES "src/libnut.cc" "src/deadbeef_rand.c" "src/mouse.c" "src/keypress.c" "src/keycode.c" "src/screen.c" "src/screengrab.c" "src/MMBitmap.c")
if (UNIX AND NOT APPLE)
set(SOURCE_FILES "${SOURCE_FILES}" "src/xdisplay.c" "src/highlightwindow_linux.c")
elseif (UNIX AND APPLE)
Expand All @@ -27,9 +27,6 @@ if (UNIX AND APPLE)
set(LIBS "${LIBS}" "-framework Cocoa")
elseif (WIN32)
message(STATUS "Windows build")
# Required for disabeling delayed loading of node libs when linking
# Delayed loading would cause linking errors
set(CMAKE_SHARED_LINKER_FLAGS "")
elseif (UNIX AND NOT APPLE)
message(STATUS "Linux build")
set(LIBS "${LIBS}" "-lpng")
Expand Down

0 comments on commit d8b66ce

Please sign in to comment.