diff --git a/CMakeLists.txt b/CMakeLists.txt index 27849ed00..2d6f2cd3a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,7 @@ if (NGP_BUILD_WITH_GUI) include_directories("dependencies/gl3w") link_directories("dependencies") set(GL_SOURCES "dependencies/gl3w/GL/gl3w.c") - set(GL_LIBRARIES $) + set(GL_LIBRARIES opengl32 $) else() find_package(GLEW REQUIRED) include_directories(${GLEW_INCLUDE_DIRS}) diff --git a/src/testbed.cu b/src/testbed.cu index 03c8f7c08..a85060302 100644 --- a/src/testbed.cu +++ b/src/testbed.cu @@ -49,14 +49,6 @@ # include # endif # include -# if defined(_MSC_VER) -# pragma comment(lib, "opengl32.lib") -# pragma comment(lib, "gdi32.lib") -# pragma comment(lib, "shell32.lib") -# endif -# if defined(_MSC_VER) && (_MSC_VER >= 1900) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) -# pragma comment(lib, "legacy_stdio_definitions") -# endif #endif #undef min