hack for my fucking msys

This commit is contained in:
wwylele 2016-09-04 17:30:13 +08:00
parent b77d510699
commit 90a1624f8e
4 changed files with 8 additions and 8 deletions

View File

@ -5,10 +5,10 @@ add_subdirectory(common)
add_subdirectory(core)
add_subdirectory(video_core)
add_subdirectory(audio_core)
add_subdirectory(tests)
if (ENABLE_SDL2)
add_subdirectory(citra)
endif()
# add_subdirectory(tests)
# if (ENABLE_SDL2)
# add_subdirectory(citra)
# endif()
if (ENABLE_QT)
add_subdirectory(citra_qt)
endif()

View File

@ -99,7 +99,7 @@ else()
add_executable(citra-qt ${SRCS} ${HEADERS} ${UI_HDRS})
endif()
target_link_libraries(citra-qt core video_core audio_core common qhexedit)
target_link_libraries(citra-qt ${OPENGL_gl_LIBRARY} ${CITRA_QT_LIBS})
target_link_libraries(citra-qt opengl32 ${CITRA_QT_LIBS})
target_link_libraries(citra-qt ${PLATFORM_LIBRARIES} Threads::Threads)
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD|OpenBSD|NetBSD")

View File

@ -11,7 +11,7 @@
#include "citra_qt/bootmanager.h"
#include "common/key_map.h"
#include "common/microprofile.h"
//#include "common/microprofile.h"
#include "common/scm_rev.h"
#include "common/string_util.h"
@ -34,7 +34,7 @@ EmuThread::EmuThread(GRenderWindow* render_window) :
void EmuThread::run() {
render_window->MakeCurrent();
MicroProfileOnThreadCreate("EmuThread");
//MicroProfileOnThreadCreate("EmuThread");
stop_run = false;

View File

@ -36,7 +36,7 @@
#include "citra_qt/debugger/ramview.h"
#include "citra_qt/debugger/registers.h"
#include "common/microprofile.h"
//#include "common/microprofile.h"
#include "common/platform.h"
#include "common/scm_rev.h"
#include "common/scope_exit.h"