Skip to content
Open
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
6 changes: 2 additions & 4 deletions micromamba/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
#
# The full license is in the file LICENSE, distributed with this software.

cmake_minimum_required(VERSION 3.16)
cmake_policy(SET CMP0025 NEW) # Introduced in cmake 3.0
cmake_policy(SET CMP0077 NEW) # Introduced in cmake 3.13
cmake_minimum_required(VERSION 3.16...4.1)
project(micromamba)

include(GNUInstallDirs)
Expand Down Expand Up @@ -125,7 +123,7 @@ if(BUILD_SHARED AND UNIX)

install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/etc/profile.d/mamba.sh
DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/profile.d/
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/profile.d/
)
endif()

Expand Down
Loading