Skip to content

Commit

Permalink
More blindly fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kunitoki committed Jun 15, 2024
1 parent 020df50 commit a63c645
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ else()
message(STATUS "${PROJECT_NAME} - Using python includes (provided): ${Python_INCLUDE_DIRS}")
endif()

# Fix linux issue
if (UNIX AND NOT APPLE)
include_directories (SYSTEM "/usr/include/freetype2")
endif()

# Fetch/Include juce (set browsable modules in IDE)
set_property (GLOBAL PROPERTY USE_FOLDERS YES)
option (JUCE_ENABLE_MODULE_SOURCE_GROUPS "Enable Module Source Groups" ON)
Expand Down Expand Up @@ -80,11 +85,6 @@ if (NOT "${Python_LIBRARY_DIRS}" STREQUAL "")
target_link_directories (${PROJECT_NAME} PRIVATE "${Python_LIBRARY_DIRS}")
endif()

if (APPLE)
elseif (UNIX)
include_directories (SYSTEM "/usr/include/freetype2")
endif()

target_compile_definitions (${PROJECT_NAME} PRIVATE
JUCE_STANDALONE_APPLICATION=1
JUCE_DISABLE_JUCE_VERSION_PRINTING=1
Expand Down

0 comments on commit a63c645

Please sign in to comment.