Skip to content

Commit

Permalink
Added cmake script executer to install wxwidgets
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed May 23, 2024
1 parent d1d156b commit 7ce86d2
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@ if(NOT wxWidgets_FOUND)
GIT_TAG v3.2.4
STEP_TARGETS build
)
execute_process(COMMAND ls | grep wx)
if (UNIX)
execute_process(COMMAND sudo ln -sv wx-3.2/wx wx)
endif (UNIX)

if (WIN32)
#execute_process(COMMAND sudo ln -sv wx-2.8/wx wx)
endif (WIN32)

if (MSVC)
# do something
endif (MSVC)

endif()
execute_process(COMMAND wx-config --version)
include(${wxWidgets_USE_FILE})
Expand Down

0 comments on commit 7ce86d2

Please sign in to comment.