From ad1df34f73c3d35162ed5805ad39fdfef68d9341 Mon Sep 17 00:00:00 2001 From: henrykorir Date: Sat, 25 May 2024 02:34:11 +0300 Subject: [PATCH] added chmod 705 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53eab541..2c82e510 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,8 @@ project(wxMinesweeper LANGUAGES CXX) find_package(wxWidgets) if(NOT wxWidgets_FOUND) if (UNIX) - file(CHMOD /usr/ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ) + #file(CHMOD /usr/ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ) + execute_process(COMMAND sudo su) execute_process(COMMAND sudo apt-get install -y build-essential libgtk2.0-dev libgtk-3-dev) execute_process(COMMAND ls -al) endif()