From 076e594fc1c26a14b8959300d4ad1608cf9ea232 Mon Sep 17 00:00:00 2001 From: Carl Klemm Date: Fri, 5 Jun 2020 12:17:08 +0200 Subject: [PATCH] Fix build on non x86_64 --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2055edf..3f15b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ add_executable(${PROJECT_NAME} ${SRC_FILES}) target_link_libraries( ${PROJECT_NAME} ${LIBS}) target_include_directories(${PROJECT_NAME} PRIVATE "/usr/include/glib-2.0/" "/usr/lib/glib-2.0/include" "/usr/include/gdk-pixbuf-2.0") -set_target_properties( ${PROJECT_NAME} PROPERTIES COMPILE_FLAGS -m64 LINK_FLAGS -m64) add_definitions(" -std=c++17 -Wall -O2 -flto -fno-strict-aliasing") install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)