Skip to content

Commit

Permalink
Github Issue #206: Modified CMakeLists file to separate the files usi…
Browse files Browse the repository at this point in the history
…ng Windows specifics calls and only add them if Cmake detects Windows platform
  • Loading branch information
AngryFender committed Aug 23, 2024
1 parent 512e5d8 commit b3a1a1d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,15 @@ set(PROJECT_SOURCES
settingsdialog.h
settingsdialog.cpp
settingsdialog.ui
)

if(WIN32)
list(APPEND PROJECT_SOURCES
iwindowapi.h
windowapi.h
windowapi.cpp
)
endif()

if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_executable(Remini
Expand Down

0 comments on commit b3a1a1d

Please sign in to comment.