Merge pull request #424 from fryshorts/bsd-build-fixes

BSD build fixes
This commit is contained in:
Jim
2015-05-05 04:46:16 -07:00
15 changed files with 83 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ if (MSVC)
endif()
if (NOT WIN32 AND (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX))
if (NOT WIN32 AND NOT APPLE)
set(CMAKE_C_FLAGS "-fPIC")
endif()