build: fixed `ginac-excompiler` installation with CMake
authorAlexey Sheplyakov <asheplyakov@altlinux.org>
Thu, 19 Dec 2019 14:16:53 +0000 (18:16 +0400)
committerAlexey Sheplyakov <asheplyakov@altlinux.org>
Mon, 24 Aug 2020 12:37:35 +0000 (16:37 +0400)
tools/CMakeLists.txt

index 6feeb2d9c3c5296c4efd27967bd32d827f8c31dc..f444dcfe74bc94ef5a84b18b0ffb21ca5b0e3f6d 100644 (file)
@@ -12,5 +12,5 @@ if (CMAKE_COMPILER_IS_GNUCC)
           "${CMAKE_CURRENT_BINARY_DIR}/ginac-excompiler"
        )
 
-       install(PROGRAMS ginac-excompiler DESTINATION "${LIBEXECDIR}")
+       install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/ginac-excompiler DESTINATION "${LIBEXECDIR}")
 endif (CMAKE_COMPILER_IS_GNUCC)