Skip to content

Commit

Permalink
Fix CMake version for OS X
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Holecek <[email protected]>
  • Loading branch information
hluk committed Apr 10, 2019
1 parent b4cc07f commit e8aca16
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
cmake_minimum_required(VERSION 2.8.12)
project(copyq)

if (NOT APPLE)
set(COPYQ_EXECUTABLE_NAME ${PROJECT_NAME})
else()
if (APPLE)
cmake_minimum_required(VERSION 3.1)
set(COPYQ_EXECUTABLE_NAME "CopyQ")
else()
cmake_minimum_required(VERSION 2.8.12)
set(COPYQ_EXECUTABLE_NAME ${PROJECT_NAME})
endif()

# C++11
Expand Down

0 comments on commit e8aca16

Please sign in to comment.