From 1af9715decc046cc7dc6f39ebc6f2e3564167a88 Mon Sep 17 00:00:00 2001 From: Nemirtingas Date: Wed, 14 Oct 2020 06:53:57 +0200 Subject: [PATCH] Fix prefix --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01a5bda..235e76e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,10 +265,6 @@ target_compile_definitions(${LIB_STEAM_API} # Setup for the steamclient(64).dll / libsteamclient.so? ######################################################## -if(UNIX) - SET_TARGET_PROPERTIES(${LIB_STEAMCLIENT} PROPERTIES PREFIX "") -endif() - # Setup the target add_library(${LIB_STEAMCLIENT} SHARED @@ -279,6 +275,10 @@ add_library(${LIB_STEAMCLIENT} ${PROTO_HDRS} ) +if(UNIX) + SET_TARGET_PROPERTIES(${LIB_STEAMCLIENT} PROPERTIES PREFIX "") +endif() + # Include the required directories target_include_directories( ${LIB_STEAMCLIENT}