From c960637ebe7d68c37fe299c63e74c0e269a9fdb3 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Sat, 7 Feb 2015 04:45:32 +0100 Subject: remove unsafe define -D__$(USER)__ funny things may happen with usernames like 'asm', 'attribute', 'x86_64', 'i386', and so on this breaks on usernames with non-alnum chars ('-', '.') Signed-off-by: Andreas Beckmann Reviewed-by: Zhigang Gong --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7cf0b3b9..b7319738 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,8 +46,6 @@ if (NOT BEIGNET_INSTALL_DIR) set (BEIGNET_INSTALL_DIR "${LIB_INSTALL_DIR}/beignet/") endif (NOT BEIGNET_INSTALL_DIR) -ADD_DEFINITIONS(-D__$(USER)__) - # Force Release with debug info if (NOT CMAKE_BUILD_TYPE) set (CMAKE_BUILD_TYPE RelWithDebInfo) -- cgit v1.2.3