aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8778b18..8cd03e6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -6,7 +6,7 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
-add_executable(poi
+set(poi_SRC
# main
main.cpp
singleapplication.cpp
@@ -51,6 +51,12 @@ add_executable(poi
plugin.h
)
+if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
+ add_executable(poi WIN32 ${poi_SRC})
+else()
+ add_executable(poi ${poi_SRC})
+endif()
+
target_include_directories(poi
PRIVATE ${Boost_INCLUDE_DIRS}
PRIVATE ../lib ../plugins