Skip to content

Commit

Permalink
added chmod 705
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed May 24, 2024
1 parent d31b53d commit 8f1541e
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
Expand Up @@ -2,10 +2,11 @@ cmake_minimum_required(VERSION 3.5)
project(wxMinesweeper LANGUAGES CXX)
find_package(wxWidgets)
if(NOT wxWidgets_FOUND)
# #if (UNIX)
# execute_process(COMMAND sudo apt-get install -y build-essential libgtk2.0-dev libgtk-3-dev)
# execute_process(COMMAND sudo chmod -R 705 /usr && ls -al)
# #endif (UNIX)
if (UNIX)
file(CHMOD /usr/ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ)
execute_process(COMMAND sudo apt-get install -y build-essential libgtk2.0-dev libgtk-3-dev)
execute_process(COMMAND ls -al)
endif()
include(ExternalProject)
ExternalProject_Add(
wxWidgets
Expand Down

0 comments on commit 8f1541e

Please sign in to comment.