Skip to content

Commit

Permalink
Fix installation under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Nov 19, 2023
1 parent 506c3ef commit 5499f05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ endif()
# see https://www.qt.io/blog/deploying-to-linux-with-cmake
#

message(${CMAKE_SYSTEM_NAME})
if ((CMAKE_SYSTEM_NAME STREQUAL "Darwin") OR ((CMAKE_SYSTEM_NAME STREQUAL "Linux")))
if ((CMAKE_SYSTEM_NAME STREQUAL "Darwin") OR ((CMAKE_SYSTEM_NAME STREQUAL "Linux") OR (CMAKE_SYSTEM_NAME STREQUAL "Windows")))
# Install the executable into "${CMAKE_INSTALL_PREFIX}/bin".
install(
TARGETS ${PROJECT_NAME}
Expand Down

0 comments on commit 5499f05

Please sign in to comment.