Commit Graph
8 Commits
Author SHA1 Message Date
Michał JaniszewskiandMason Sciotti d279c24c6a Add advapi32 to linked libraries (#140)
Required by `RegCreateKeyExW` and others.
2018-03-13 13:00:47 -07:00
Michał JaniszewskiandBen Morse 578eb6de7c Provide fake DllMain declaration to fix missing-declarations warning (#130) 2018-02-15 14:36:31 -08:00
Michał JaniszewskiandMason Sciotti 4e61b9c82c Fix mingw compilation with -Werror=missing-declarations (#128) 2018-02-14 13:33:02 -08:00
Michał JaniszewskiandMason Sciotti 8ec10dc011 Fix compilation with -Werror=missing-declarations (#127) 2018-02-14 11:42:29 -08:00
Michał JaniszewskiandChris Marsh 2af5adca3d Use simpler version of GetModuleFileNameW
As per
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683198(v=vs.85).aspx,
the advised use for getting the file name of a module from `<current
process>` is to use the simplified version. Additionally, this clears
the confusion introduced in Win7's PSAPI which moved
`GetModuleFileNameExW` into the kernel, changing its signature to
`K32GetModuleFileNameExW`, effectively breaking pre-Win7 uses unless
actively mitigated with `#define PSAPI_VERSION 1`
2017-11-29 08:08:47 -08:00
Michał JaniszewskiandChris Marsh c5d3481c47 Add GNUInstallDirs include to top-level CMakeLists 2017-11-16 09:03:17 -08:00
Michał JaniszewskiandChris Marsh 2b248a6cef Don't use hardcoded paths for installation targets 2017-11-16 09:03:17 -08:00
Michał JaniszewskiandChris Marsh 1675d5d2dc Provide link to info about BUILD_SHARED_LIBS 2017-11-15 11:35:55 -08:00