removed useless cmake syntax
This commit is contained in:
parent
0e94f696fa
commit
1fe1be4c42
|
@ -161,7 +161,7 @@ if (UNIX)
|
||||||
${lib_Carbon}
|
${lib_Carbon}
|
||||||
)
|
)
|
||||||
|
|
||||||
else (APPLE)
|
else()
|
||||||
|
|
||||||
set(XKBlib "X11/XKBlib.h")
|
set(XKBlib "X11/XKBlib.h")
|
||||||
check_include_files("${XKBlib};X11/extensions/dpms.h" HAVE_X11_EXTENSIONS_DPMS_H)
|
check_include_files("${XKBlib};X11/extensions/dpms.h" HAVE_X11_EXTENSIONS_DPMS_H)
|
||||||
|
@ -199,7 +199,7 @@ if (UNIX)
|
||||||
set(HAVE_X11)
|
set(HAVE_X11)
|
||||||
list(APPEND libs X11 Xtst)
|
list(APPEND libs X11 Xtst)
|
||||||
|
|
||||||
else (HAVE_Xtst)
|
else()
|
||||||
|
|
||||||
message(FATAL_ERROR "Missing library: Xtst")
|
message(FATAL_ERROR "Missing library: Xtst")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue