diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-02-19 05:08:26 +1100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-02-19 05:22:04 +1100 |
commit | 67c17cc48bc3a2914d8e6ecb39ec1fb54b4806aa (patch) | |
tree | 006bc568c36bb43a4dbaed17c8ffb0d0dbdcb12f /heimdall | |
parent | b22ae7b89f7993f632e10e18c116f293f314575f (diff) | |
download | external_heimdall-67c17cc48bc3a2914d8e6ecb39ec1fb54b4806aa.zip external_heimdall-67c17cc48bc3a2914d8e6ecb39ec1fb54b4806aa.tar.gz external_heimdall-67c17cc48bc3a2914d8e6ecb39ec1fb54b4806aa.tar.bz2 |
Fix Unix build issues and work-around Qt5 Mac UI bugs
Diffstat (limited to 'heimdall')
-rw-r--r-- | heimdall/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt index a822702..82dc2d3 100644 --- a/heimdall/CMakeLists.txt +++ b/heimdall/CMakeLists.txt @@ -9,7 +9,10 @@ set(LIBPIT_INCLUDE_DIRS ../libpit/source) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") -set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static") + +if(MINGW) + set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static") +endif(MINGW) include_directories(SYSTEM ${LIBUSB_INCLUDE_DIRS}) |