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