Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8)
cmake_minimum_required (VERSION 3.10)
set (CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set (HAVE_CMAKE true)
Expand Down
2 changes: 1 addition & 1 deletion doc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8)
cmake_minimum_required (VERSION 3.10)
message ("-- Configuring man pages")
set (man_FILES tasksh.1)
foreach (man_FILE ${man_FILES})
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 2.8)
cmake_minimum_required (VERSION 3.10)
include_directories (${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/src
${CMAKE_SOURCE_DIR}/src/libshared/src
Expand Down
8 changes: 3 additions & 5 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
cmake_minimum_required (VERSION 2.8)
cmake_minimum_required (VERSION 3.10)

# See this CMake issue before complaining about the following.
# https://cmake.org/Bug/view.php?id=16062
if(POLICY CMP0037)
cmake_policy(SET CMP0037 OLD)
cmake_policy(SET CMP0037 NEW)
endif()

include_directories (${CMAKE_SOURCE_DIR}
Expand All @@ -17,7 +15,7 @@ link_directories(${CMAKE_INSTALL_PREFIX}/lib)

set (test_SRCS)

add_custom_target (test ./run_all --verbose
add_custom_target (tasksh-test ./run_all --verbose
DEPENDS ${test_SRCS}
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/test)

Expand Down