mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
Fix CMake build (fluid) on case sensitive macOS file systems.
Note: Xcode projects NOT modified. These project files appear to refer to 'fluid/Fluid.app' (with uppercase 'F') as well.
This commit is contained in:
@@ -3,6 +3,7 @@ CHANGES IN FLTK 1.3.5 RELEASED: ??? ?? 2018
|
||||
|
||||
Bug fixes and other improvements
|
||||
|
||||
- Fixed CMake build (fluid) on case sensitive macOS file systems.
|
||||
- Windows/OpenGL: improved pixel format detection (STR #3119).
|
||||
- Added support for MacOS 10.14 "Mojave": all drawing to windows is done
|
||||
through "layer-backed views" when the app is linked to SDK 10.14.
|
||||
|
||||
+4
-4
@@ -283,8 +283,8 @@ generate C++ source code from .fl resource files. Add Fluid to the developer
|
||||
tools:
|
||||
|
||||
sudo mkdir /Developer/Applications/Utilities/FLTK/
|
||||
sudo rm -f -r /Developer/Applications/Utilities/FLTK/Fluid.app
|
||||
sudo cp -R ide/Xcode4/build/Release/Fluid.app /Developer/Applications/Utilities/FLTK/
|
||||
sudo rm -f -r /Developer/Applications/Utilities/FLTK/fluid.app
|
||||
sudo cp -R ide/Xcode4/build/Release/fluid.app /Developer/Applications/Utilities/FLTK/
|
||||
|
||||
|
||||
3.8 Installing Little Helpers
|
||||
@@ -442,8 +442,8 @@ generate C++ source code from .fl resource files. Add Fluid to the developer
|
||||
tools:
|
||||
|
||||
sudo mkdir /Applications/FLTK/
|
||||
sudo rm -f -r /Applications/FLTK/Fluid.app
|
||||
sudo cp -R (Organizer->Derived Data Path)/Release/Fluid.app /Applications/FLTK/
|
||||
sudo rm -f -r /Applications/FLTK/fluid.app
|
||||
sudo cp -R (Organizer->Derived Data Path)/Release/fluid.app /Applications/FLTK/
|
||||
|
||||
(TODO: 4.8 Installing Little Helpers)
|
||||
(TODO: 4.9 Creating new Projects)
|
||||
|
||||
@@ -41,7 +41,7 @@ set(CPPFILES
|
||||
)
|
||||
|
||||
if(APPLE AND NOT OPTION_APPLE_X11)
|
||||
set(FLUID_ICON "${CMAKE_CURRENT_SOURCE_DIR}/Fluid.app/Contents/Resources/fluid.icns")
|
||||
set(FLUID_ICON "${CMAKE_CURRENT_SOURCE_DIR}/fluid.app/Contents/Resources/fluid.icns")
|
||||
add_executable(fluid MACOSX_BUNDLE ${CPPFILES} "${FLUID_ICON}")
|
||||
FLTK_SET_BUNDLE_ICON(fluid "${FLUID_ICON}")
|
||||
else()
|
||||
|
||||
+1
-1
@@ -322,7 +322,7 @@ void dobut(Fl_Widget *, long arg)
|
||||
*arg = 0;
|
||||
#if defined USING_XCODE
|
||||
fl_filename_absolute(path, 2048, "../../../../test/");
|
||||
fluidpath = "Fluid.app";
|
||||
fluidpath = "fluid.app";
|
||||
#else
|
||||
strcpy(path, app_path); strcat(path, "/");
|
||||
fluidpath = "../fluid/fluid.app";
|
||||
|
||||
Reference in New Issue
Block a user