Fix sample output directory on linux

This commit is contained in:
Caelan Sayler
2024-11-10 22:33:45 +00:00
committed by Caelan
parent 26d2c722f6
commit 72a8dd5594
2 changed files with 2 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ if(WIN32)
# so it works on all platforms # so it works on all platforms
add_executable(main WIN32 main.cpp main.exe.manifest) add_executable(main WIN32 main.cpp main.exe.manifest)
else() else()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/Release")
add_executable(main main.cpp) add_executable(main main.cpp)
endif() endif()

View File

@@ -14,7 +14,7 @@ public:
vpkc_set_logger(&MyFrame::HandleVpkcLogStatic, this); vpkc_set_logger(&MyFrame::HandleVpkcLogStatic, this);
// Set background color to white // Set background color to white
SetBackgroundColour(*wxWHITE); // SetBackgroundColour(*wxWHITE);
// Main vertical sizer // Main vertical sizer
wxBoxSizer* mainSizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* mainSizer = new wxBoxSizer(wxVERTICAL);