Browse Source

Remove some includes and remove locale dependency from unix

merge-requests/365/head
Jørgen Lien Sellæg 10 years ago
parent
commit
d6985aa3dd
  1. 9
      src/CMakeLists.txt
  2. 4
      src/dialogs.h

9
src/CMakeLists.txt

@ -29,7 +29,14 @@ find_package(LibClang REQUIRED)
#find_package(Boost 1.55 COMPONENTS python thread log system filesystem REQUIRED)
find_package(Boost 1.55 COMPONENTS thread log system filesystem locale REQUIRED)
set(BOOST_DEP thread log system filesystem)
if(MSYS)
list(APPEND BOOST_DEP locale)
endif()
find_package(Boost 1.55 COMPONENTS ${BOOST_DEP} REQUIRED)
pkg_check_modules(GTKMM gtkmm-3.0 REQUIRED) # The name GTKMM is set here for the variables abouve

4
src/dialogs.h

@ -17,10 +17,6 @@ class Dialog {
#include <windows.h>
#include <shobjidl.h>
#include <memory>
#include <sstream>
#include <codecvt>
#include <vector>
class CommonDialog {

Loading…
Cancel
Save