Skip to content

Commit c1c5052

Browse files
committed
fixup! test make deb
1 parent 0916ffe commit c1c5052

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ endif()
236236

237237
# default destination on Linux and macOS: "/usr/local"
238238
#if(UNIX AND NOT APPLE)
239-
set(CMAKE_INSTALL_PREFIX "/usr")
239+
# set(CMAKE_INSTALL_PREFIX "/usr")
240240
#else()
241241
# set(CMAKE_INSTALL_PREFIX "tmp")
242242
#endif()
@@ -269,8 +269,8 @@ install(TARGETS cmpClient
269269
)
270270

271271
if(NOT TARGET uninstall)
272-
add_custom_target(uninstall
273-
COMMAND xargs -I{} rm -vf $ENV{DESTDIR}{} <install_manifest.txt
272+
add_custom_target(uninstall
273+
COMMAND xargs -I% rm -vf \${DESTDIR}% <install_manifest.txt
274274
COMMAND rm -vfr "\${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/{secutils,cmp}"
275275
COMMAND rm -vfr "\${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DOCDIR}-dev"
276276
COMMAND rm -vfr "\${DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"

0 commit comments

Comments
 (0)