Permalink
Browse files

Mavericks fixes

  • Loading branch information...
1 parent 1a03c29 commit 0cdac493bd7e547d76f94b8094885bf5361989d0 @bmcdorman bmcdorman committed Oct 25, 2013
Showing with 1 addition and 5 deletions.
  1. +0 −5 CMakeLists.txt
  2. +1 −0 src/server_thread.cpp
View
@@ -43,11 +43,6 @@ add_definitions(-O3)
if(APPLE)
# set(CMAKE_OSX_SYSROOT "${OSX_DEVELOPER_ROOT}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk")
# message(${CMAKE_OSX_SYSROOT})
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7")
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.7")
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -mmacosx-version-min=10.7")
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -mmacosx-version-min=10.7")
- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -mmacosx-version-min=10.7")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch x86_64 -g")
link_directories(/Library/Frameworks/)
link_directories(/usr/local/lib)
View
@@ -12,6 +12,7 @@
#include <fstream>
#include <iostream>
#include <sstream>
+#include <unistd.h>
#include <pcompiler/pcompiler.hpp>
#include <QDir>

0 comments on commit 0cdac49

Please sign in to comment.