Skip to content

Instantly share code, notes, and snippets.

@joeydumont
Created April 24, 2015 11:42
Show Gist options
  • Save joeydumont/6ea6dfc7b2f57f345ede to your computer and use it in GitHub Desktop.
Save joeydumont/6ea6dfc7b2f57f345ede to your computer and use it in GitHub Desktop.
Compilation attempt for ue4-git 4.7.6
diff -aur ue4-git.pristine/Engine/Source/ThirdParty/LinuxNativeDialogs/UELinuxNativeDialogs/CMakeLists.txt ue4-git.new/Engine/Source/ThirdParty/LinuxNativeDialogs/UELinuxNativeDialogs/CMakeLists.txt
--- ue4-git.pristine/Engine/Source/ThirdParty/LinuxNativeDialogs/UELinuxNativeDialogs/CMakeLists.txt 2015-04-24 07:15:12.477480633 -0400
+++ ue4-git.new/Engine/Source/ThirdParty/LinuxNativeDialogs/UELinuxNativeDialogs/CMakeLists.txt 2015-04-24 07:27:13.645362020 -0400
@@ -5,13 +5,13 @@
set(CMAKE_CXX_FLAGS "-std=c++11")
-find_package(Qt4 QUIET COMPONENTS QtGui)
+#find_package(Qt4 QUIET COMPONENTS QtGui)
find_package(Qt5Widgets QUIET)
-find_package(GTK2 QUIET)
+#find_package(GTK2 QUIET)
find_package(PkgConfig REQUIRED)
-pkg_check_modules(GTK3 gtk+-3.0)
-pkg_check_modules(SDL2 sdl2)
+#pkg_check_modules(GTK3 gtk+-3.0)
+#pkg_check_modules(SDL2 sdl2)
find_package(OpenGL REQUIRED)
if(SDL2_FOUND)
@@ -29,12 +29,12 @@
include_directories(include)
-if(QT4_FOUND)
-message(STATUS "Qt4 found")
+#if(QT4_FOUND)
+#message(STATUS "Qt4 found")
-add_library(LND-qt4 SHARED src/qtdialog.cpp)
+#add_library(LND-qt4 SHARED src/qtdialog.cpp)
-target_link_libraries(LND-qt4 Qt4::QtGui)
+#target_link_libraries(LND-qt4 Qt4::QtGui)
# uncomment if developing, not needed for production
#add_executable(qt4test src/dialogtest.cpp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment