Actually fix #261 (CMake Linux detection)
Esse commit está contido em:
@@ -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})
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário