Giter Site home page Giter Site logo

Comments (1)

CounterPillow avatar CounterPillow commented on July 18, 2024

Try this patch

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4bea18..938bea0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -185,18 +185,18 @@ if (OPENGL_FOUND AND Qt5Widgets_FOUND)
     if (APPLE)
         list(APPEND Editor_SOURCES "src/editor/CoreProfileAttributes.mm")
     endif()
-    add_executable(editor ${Editor_SOURCES} src/editor/resources/Tungsten.rc)
-    set_target_properties(editor PROPERTIES AUTOMOC TRUE)
-    qt5_use_modules(editor Widgets OpenGL)
-    target_link_libraries(editor ${core_libs} ${opengl_libs} Qt5::Widgets Qt5::OpenGL)
+    add_executable(tungsten_editor ${Editor_SOURCES} src/editor/resources/Tungsten.rc)
+    set_target_properties(tungsten_editor PROPERTIES AUTOMOC TRUE)
+    qt5_use_modules(tungsten_editor Widgets OpenGL)
+    target_link_libraries(tungsten_editor ${core_libs} ${opengl_libs} Qt5::Widgets Qt5::OpenGL)
     if (APPLE)
         find_library(APPKIT NAMES AppKit) 
-        target_link_libraries(editor ${APPKIT})
+        target_link_libraries(tungsten_editor ${APPKIT})
     endif()
     message(STATUS "Building editor")
     
-    set(data_dirs ${data_dirs} editor shaders)
-    set(executables ${executables} editor)
+    set(data_dirs ${data_dirs} tungsten_editor shaders)
+    set(executables ${executables} tungsten_editor)
 else()
     if (NOT Qt5Widgets_FOUND)
         message(STATUS "Qt5 not found. Editor will not be built")

Not sure why people decided to package a research renderer on Linux systems though.

from tungsten.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.