summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/heimdall/CMakeLists.txt b/heimdall/CMakeLists.txt
index 82dc2d3..ef927bf 100644
--- a/heimdall/CMakeLists.txt
+++ b/heimdall/CMakeLists.txt
@@ -14,6 +14,10 @@ if(MINGW)
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
endif(MINGW)
+if(LINUX)
+ add_definitions(-DOS_LINUX)
+endif(LINUX)
+
include_directories(SYSTEM ${LIBUSB_INCLUDE_DIRS})
include_directories(${LIBPIT_INCLUDE_DIRS})