diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-03-05 14:46:51 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-03-05 14:48:18 +0100 |
commit | 8cb7f3dd875f4ac74c026da871239c688ab6e61b (patch) | |
tree | 7efb5b847b2b83a159579d1fdc5ff22ad5774dd7 /heimdall | |
parent | Due to a Qt bug on OS X we need to browse for *.gz not *.tar.gz (diff) | |
download | Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar.gz Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar.bz2 Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar.lz Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar.xz Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.tar.zst Heimdall-8cb7f3dd875f4ac74c026da871239c688ab6e61b.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt index ef927bf..58ff83b 100644 --- a/heimdall/CMakeLists.txt +++ b/heimdall/CMakeLists.txt @@ -14,9 +14,9 @@ if(MINGW) set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static") endif(MINGW) -if(LINUX) +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") add_definitions(-DOS_LINUX) -endif(LINUX) +endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") include_directories(SYSTEM ${LIBUSB_INCLUDE_DIRS}) |