summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-03-05 14:46:51 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-03-05 14:48:18 +0100
commit8cb7f3dd875f4ac74c026da871239c688ab6e61b (patch)
tree7efb5b847b2b83a159579d1fdc5ff22ad5774dd7
parentDue to a Qt bug on OS X we need to browse for *.gz not *.tar.gz (diff)
downloadHeimdall-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
-rw-r--r--heimdall/CMakeLists.txt4
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})