1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 22:50:01 +00:00

RE3_NO_AUTOLINK to CMAKE_NO_AUTOLINK

This commit is contained in:
Filip Gawin 2021-01-14 22:15:36 +01:00
parent a0a88b4663
commit 1082b13830
7 changed files with 7 additions and 7 deletions

View file

@ -36,7 +36,7 @@ target_compile_definitions(${EXECUTABLE}
PRIVATE
$<IF:$<CONFIG:DEBUG>,DEBUG,NDEBUG>
LIBRW
${PROJECT}_NO_AUTOLINK
CMAKE_NO_AUTOLINK
)
if(LIBRW_PLATFORM_D3D9)

View file

@ -4,7 +4,7 @@
#include "stream.h"
#include "sampman.h"
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#ifdef AUDIO_OAL_USE_SNDFILE
#pragma comment( lib, "libsndfile-1.lib" )
#endif

View file

@ -18,7 +18,7 @@
#include "Timer.h"
#include "crossplatform.h"
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#pragma comment( lib, "mss32.lib" )
#endif

View file

@ -38,7 +38,7 @@
//TODO: max channels
//TODO: loop count
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#pragma comment( lib, "OpenAL32.lib" )
#endif

View file

@ -10,7 +10,7 @@
#include "crossplatform.h"
#include "platform.h"
#ifdef XINPUT
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#include <xinput.h>
#if !defined(PSAPI_VERSION) || (PSAPI_VERSION > 1)
#pragma comment( lib, "Xinput9_1_0.lib" )

View file

@ -223,7 +223,7 @@ psGrabScreen(RwCamera *pCamera)
/*
*****************************************************************************
*/
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#pragma comment( lib, "Winmm.lib" ) // Needed for time
RwUInt32
psTimer(void)

View file

@ -32,7 +32,7 @@
#define WM_GRAPHNOTIFY WM_USER+13
#if defined _MSC_VER && !defined RE3_NO_AUTOLINK
#if defined _MSC_VER && !defined CMAKE_NO_AUTOLINK
#ifndef USE_D3D9
#pragma comment( lib, "d3d8.lib" )
#endif