aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-11-22 22:19:51 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-11-22 22:19:51 +0100
commit76ab30983dad5e07270ec980bce00dc88e6ad2b2 (patch)
tree57c05b6218a4f8f3dd304e8f5ea119b340a29c64
parent44d8d7fa77ad7370b3cde7faf59134ce50ad0c59 (diff)
downloadpolecat-76ab30983dad5e07270ec980bce00dc88e6ad2b2.tar.gz
polecat-76ab30983dad5e07270ec980bce00dc88e6ad2b2.zip
bump version, quality of life changes […]0.1.8
- add cmake install target - remove unused code from dxvk
-rw-r--r--CMakeLists.txt6
-rw-r--r--src/dxvk.c1
2 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b3ee9b..e565557 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ if(NOT CMAKE_BUILD_TYPE)
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()
-project(polecat VERSION 0.1.6)
+project(polecat VERSION 0.1.8)
add_compile_definitions(NAME="${CMAKE_PROJECT_NAME}")
add_compile_definitions(VERSION="${CMAKE_PROJECT_VERSION}")
@@ -37,4 +37,6 @@ target_link_libraries(${CMAKE_PROJECT_NAME} LINK_PUBLIC ${LIBARCHIVE_LIBRARIES})
target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC ${LIBCURL_INCLUDE_DIRS})
target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC ${JSONC_INCLUDE_DIRS})
-target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC ${LIBARCHIVE_INCLUDE_DIRS}) \ No newline at end of file
+target_include_directories(${CMAKE_PROJECT_NAME} PUBLIC ${LIBARCHIVE_INCLUDE_DIRS})
+
+install(TARGETS ${CMAKE_PROJECT_NAME}) \ No newline at end of file
diff --git a/src/dxvk.c b/src/dxvk.c
index 70a8fa8..5a33394 100644
--- a/src/dxvk.c
+++ b/src/dxvk.c
@@ -97,7 +97,6 @@ int dxvk_install(int argc, char** argv)
if (argc > 1)
{
char dxvkpath[PATH_MAX];
- char* winebinloc = NULL; // to be set by the wine type check
getDXVKDir(dxvkpath, sizeof(dxvkpath));
char* dxvkver = argv[1];