Fixed compatibility with cmake < 3.6.0

This commit is contained in:
SChernykh 2021-09-09 17:40:48 +02:00
parent 3aa270a072
commit 382116759d

View file

@ -5,7 +5,7 @@ option(STATIC_LINUX_BINARY "Build static Linux binary" OFF)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.6.0")
if (${CMAKE_VERSION} VERSION_GREATER "3.5.2")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT p2pool)
endif()