Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] does it mean that it can't find my .lib file because I use a relative path?

[DiscordArchive] does it mean that it can't find my .lib file because I use a relative path?

[DiscordArchive] does it mean that it can't find my .lib file because I use a relative path?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
01-08-2023, 05:14 PM
#11
Archived author: William Von Kha • Posted: 2023-01-08T17:14:18.065000+00:00
Original source

like this :
```
find_package(TSClientSdk REQUIRED COMPONENTS lib)
find_package(TSServerSdk REQUIRED COMPONENTS lib)

add_library(TSClientSdk UNKNOWN IMPORTED)
add_library(TSServerSdk UNKNOWN IMPORTED)

set_target_properties(TSClientSdk
PROPERTIES
IMPORTED_LOCATION
"${TSClientSdk_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${TSClientSdk_INCLUDE_DIR}")

set_target_properties(TSServerSdk
PROPERTIES
IMPORTED_LOCATION
"${TSServerSdk_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${TSServerSdk_INCLUDE_DIR}")
```
do I need to change anything in my environment variables?
rektbyfaith
01-08-2023, 05:14 PM #11

Archived author: William Von Kha • Posted: 2023-01-08T17:14:18.065000+00:00
Original source

like this :
```
find_package(TSClientSdk REQUIRED COMPONENTS lib)
find_package(TSServerSdk REQUIRED COMPONENTS lib)

add_library(TSClientSdk UNKNOWN IMPORTED)
add_library(TSServerSdk UNKNOWN IMPORTED)

set_target_properties(TSClientSdk
PROPERTIES
IMPORTED_LOCATION
"${TSClientSdk_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${TSClientSdk_INCLUDE_DIR}")

set_target_properties(TSServerSdk
PROPERTIES
IMPORTED_LOCATION
"${TSServerSdk_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES
"${TSServerSdk_INCLUDE_DIR}")
```
do I need to change anything in my environment variables?

rektbyfaith
Administrator
0
01-08-2023, 05:26 PM
#12
Archived author: William Von Kha • Posted: 2023-01-08T17:26:38.213000+00:00
Original source


[Image: image.png?ex=690c318e&is=690ae00e&hm=2fb...162b2d8b1&]
rektbyfaith
01-08-2023, 05:26 PM #12

Archived author: William Von Kha • Posted: 2023-01-08T17:26:38.213000+00:00
Original source


[Image: image.png?ex=690c318e&is=690ae00e&hm=2fb...162b2d8b1&]

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)