17 lines
650 B
CMake
17 lines
650 B
CMake
--- cmake/modules/linuxvga.cmake.orig 2015-04-12 10:08:04 UTC
|
|
+++ cmake/modules/linuxvga.cmake
|
|
@@ -35,7 +35,6 @@
|
|
# set the environment variable CMAKE_LIBRARY_PATH.
|
|
# See cmake documentation for further details.
|
|
|
|
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
if(PLD_linuxvga)
|
|
find_package(VGA)
|
|
if(VGA_FOUND)
|
|
@@ -50,6 +49,3 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
set(PLD_linuxvga OFF CACHE BOOL "Enable linuxvga device" FORCE)
|
|
endif(VGA_FOUND)
|
|
endif(PLD_linuxvga)
|
|
-else(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|
- set(PLD_linuxvga OFF CACHE BOOL "Enable linuxvga device" FORCE)
|
|
-endif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|