Excuse me what the fuck

This commit is contained in:
bencat07 2019-04-28 13:30:24 +02:00
parent 4cbeaa6e64
commit dd31956222

View File

@ -47,11 +47,13 @@ if(NOT EnableVisuals)
set(EnableGUI 0)
endif()
if (EnableImGuiDrawing)
set(EnableEngineDrawing 0)
find_package(Freetype REQUIRED)
target_include_directories(cathook PRIVATE "${FREETYPE_INCLUDE_DIRS}")
target_link_libraries(cathook ${FREETYPE_LIBRARIES})
if (EnableVisuals)
if (EnableImGuiDrawing)
set(EnableEngineDrawing 0)
find_package(Freetype REQUIRED)
target_include_directories(cathook PRIVATE "${FREETYPE_INCLUDE_DIRS}")
target_link_libraries(cathook ${FREETYPE_LIBRARIES})
endif()
endif()
find_package(Git REQUIRED)