Add CMake error on OSX.
It is not currently supported.
This commit is contained in:
parent
c7c0063916
commit
91034d3d29
@ -11,8 +11,11 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||||||
FORCE)
|
FORCE)
|
||||||
endif(NOT CMAKE_BUILD_TYPE)
|
endif(NOT CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
message(SEND_ERROR "OSX is currently not supported. Patches are welcome.")
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(tmux-mem-cpu-load tmux-mem-cpu-load.cpp)
|
add_executable(tmux-mem-cpu-load tmux-mem-cpu-load.cpp)
|
||||||
install(TARGETS tmux-mem-cpu-load
|
install(TARGETS tmux-mem-cpu-load
|
||||||
RUNTIME
|
RUNTIME DESTINATION bin
|
||||||
DESTINATION bin
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user