From 2b3546d6af8397f80179883c549b7a823011f494 Mon Sep 17 00:00:00 2001
From: Julien Malik <julien.malik@c-s.fr>
Date: Tue, 31 Jan 2012 09:12:02 +0100
Subject: [PATCH] COMP: last minute fixes are always bad ideas - windows
 compilation broken

---
 Code/Visualization/Viewer/CMakeLists.txt           | 2 +-
 Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code/Visualization/Viewer/CMakeLists.txt b/Code/Visualization/Viewer/CMakeLists.txt
index 5f827071de..dd9db07bec 100644
--- a/Code/Visualization/Viewer/CMakeLists.txt
+++ b/Code/Visualization/Viewer/CMakeLists.txt
@@ -38,7 +38,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
 	    PROPERTIES COMPILE_FLAGS -fno-strict-aliasing)
 ENDIF(CMAKE_COMPILER_IS_GNUCXX)
 
-ADD_EXECUTABLE(otbViewer WIN32
+ADD_EXECUTABLE(otbViewer
                    otbViewer.cxx
                    ${VIEW_SRCS} ${CONTROLLER_SRCS} ${MODEL_SRCS}
                    ${otbViewer_FLTK_UI_SRCS})
diff --git a/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt b/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt
index e87a37c2a3..0358764484 100644
--- a/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt
+++ b/Code/Wrappers/ApplicationLauncherQt/CMakeLists.txt
@@ -4,7 +4,7 @@ include_directories(../QtWidget)
 set( SRCS
      otbApplicationLauncherQt.cxx )
 
-add_executable(otbApplicationLauncherQt WIN32 ${SRCS})
+add_executable(otbApplicationLauncherQt ${SRCS})
 
 target_link_libraries(otbApplicationLauncherQt
                        OTBWrapperQtWidget
-- 
GitLab