Fixed BUILD_SHARED_LIBS related build sytem problems on linux. Now working with both on and off.

This commit is contained in:
Jacob Støren
2016-06-12 02:03:48 +02:00
parent b714882a16
commit 64aea7285d
2 changed files with 1 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ if (MSVC)
add_definitions(-DHKS_NT)
add_definitions(-DABQ_WIN86_64)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -c -fPIC -w -Wno-deprecated")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -w -Wno-deprecated")
add_definitions(-DTYPENAME=typename)
add_definitions(-D_LINUX_SOURCE)