summaryrefslogtreecommitdiffstats
path: root/heimdall/CMakeLists.txt
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-20 13:56:47 +0100
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2015-02-20 13:57:08 +0100
commit625fdf27366e6a15a645866abc0608e3b7925663 (patch)
treeef5f7ce4d2eb6722f619fb4a37a5bad6e51bd2eb /heimdall/CMakeLists.txt
parentFix FindLibusb.cmake and make CMake setup IDE compatible (diff)
downloadHeimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar.gz
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar.bz2
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar.lz
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar.xz
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.tar.zst
Heimdall-625fdf27366e6a15a645866abc0608e3b7925663.zip
Diffstat (limited to 'heimdall/CMakeLists.txt')
-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})