diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e268a65..44e853af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,8 +87,8 @@ if(WIN32 AND DEFINED MSVC_VERSION AND NOT ${MSVC_VERSION} LESS 1700) SET (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /SAFESEH:NO") endif() -if(UNIX) - SET(SDK_LIBEVDEV "" CACHE PATH "libevdev SDK path") +if(CMAKE_SYSTEM_NAME STREQUAL Linux) + SET(SDK_LIBEVDEV "/usr" CACHE PATH "libevdev install prefix") endif() if(WIN32) |