Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cb7f3dd authored by Benjamin Dobell's avatar Benjamin Dobell
Browse files

Actually fix #261 (CMake Linux detection)

parent 2ad53a51
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -14,9 +14,9 @@ if(MINGW)
    set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
    set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
endif(MINGW)
endif(MINGW)


if(LINUX)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
    add_definitions(-DOS_LINUX)
    add_definitions(-DOS_LINUX)
endif(LINUX)
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")


include_directories(SYSTEM ${LIBUSB_INCLUDE_DIRS})
include_directories(SYSTEM ${LIBUSB_INCLUDE_DIRS})