aboutsummaryrefslogtreecommitdiffstats
path: root/host/Modules
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-04-01 15:54:51 -0700
committerJosh Blum <josh@joshknows.com>2011-04-01 15:54:51 -0700
commit83c608e17de45fd5372f05b54f343c721e25ad82 (patch)
treeb3d45a0f92af296d8c67451ccc90e398a60e3ba2 /host/Modules
parent81e891f3f38259e7450b454933c979f2d8c93d65 (diff)
downloaduhd-83c608e17de45fd5372f05b54f343c721e25ad82.tar.gz
uhd-83c608e17de45fd5372f05b54f343c721e25ad82.tar.bz2
uhd-83c608e17de45fd5372f05b54f343c721e25ad82.zip
uhd: define LINUX in build system to simplify some checks
Diffstat (limited to 'host/Modules')
-rw-r--r--host/Modules/UHDPackage.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/Modules/UHDPackage.cmake b/host/Modules/UHDPackage.cmake
index 7fee51741..7ac677d28 100644
--- a/host/Modules/UHDPackage.cmake
+++ b/host/Modules/UHDPackage.cmake
@@ -29,6 +29,10 @@ IF(UNIX AND EXISTS "/etc/redhat-release")
SET(REDHAT TRUE)
ENDIF()
+IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ SET(LINUX TRUE)
+ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+
########################################################################
# Setup package file name
########################################################################