diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro index 65325594..02e33dff 100644 --- a/sleepyhead/sleepyhead.pro +++ b/sleepyhead/sleepyhead.pro @@ -127,14 +127,12 @@ win32 { LIBS += -lz } - MY_LIB_FILES += $${DESTDIR}/opengl32sw.dll - extra_libs.files = MY_LIB_FILES - extra_libs.path = $$DESTDIR - INSTALLS += extra_libs - CONFIG += precompile_header - PRECOMPILED_HEADER = pch.h - HEADERS += pch.h + if (*-msvc*) { + CONFIG += precompile_header + PRECOMPILED_HEADER = pch.h + HEADERS += pch.h + } }