diff --git a/CMakeLists.txt b/CMakeLists.txt index cf6bd01cb..af3073697 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,8 @@ else (${CMAKE_SYSTEM_NAME} MATCHES "Linux") endif (${CMAKE_SYSTEM_NAME} MATCHES "Linux") if (NETBSD) - #Since readline, etc likely to be in /usr/pkg/lib, not standard library - #Otherwise will remove links during install + # Since readline, etc likely to be in /usr/pkg/lib, not standard library + # Otherwise will remove links during install set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) endif (NETBSD) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b873b1849..4cc58b0ad 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -52,9 +52,9 @@ set (task_SRCS A3.cpp A3.h wcwidth6.cpp) add_library (task STATIC ${task_SRCS}) -add_executable (task_executable main.cpp) -add_executable (calc_executable calc.cpp) -add_executable (args_executable args.cpp) +add_executable (task_executable main.cpp) +add_executable (calc_executable calc.cpp) +add_executable (args_executable args.cpp) # Yes, 'task' is included twice, otherwise linking fails on assorted OSes. target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})