From f2007694775316b4f937dbe7bd706a2e8fe0745b Mon Sep 17 00:00:00 2001 From: Jonathan Pilborough z003wskt Date: Tue, 29 Aug 2023 14:22:56 +0200 Subject: [PATCH] Set 64 Output Filename --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index acf4646..bfe7d26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8.2) +cmake_minimum_required(VERSION 3.1) project(AntriebDll) @@ -14,7 +14,8 @@ set(MODULE_FILES add_library(AntriebDll SHARED ${MODULE_FILES}) -#include(GenerateExportHeader) -#generate_export_header(DLib) - target_include_directories(AntriebDll PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) + +if("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "x64") + set_target_properties(AntriebDll PROPERTIES SUFFIX ".64.dll") +ENDIF()