mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
dfc0b3b9bc
commit
817bffd9b1
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
macro(LOG line)
|
||||
message(STATUS ${line})
|
||||
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/SystemInfo.txt "${line}\n")
|
||||
|
|
|
@ -12,7 +12,7 @@ find_package(Alsa)
|
|||
alsa_configure_file(${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
|
||||
|
||||
# TODO: drop wmlib entirely?
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL GNU)
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
set(USE_WMLIB FALSE)
|
||||
else ()
|
||||
set(USE_WMLIB TRUE)
|
||||
|
|
Loading…
Add table
Reference in a new issue