Skip to content

Commit

Permalink
Don't link profit-cli against GSL explicitly
Browse files Browse the repository at this point in the history
The libprofit target already links against either GSL or RMath, so there
shouldn't be any need to link against GSL here.

Signed-off-by: Rodrigo Tobar <[email protected]>
  • Loading branch information
rtobar committed Jul 10, 2024
1 parent cbf1c26 commit b8ff5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# along with libprofit. If not, see <http://www.gnu.org/licenses/>.

add_executable(profit-cli fits_utils.cpp profit-cli.cpp)
target_link_libraries(profit-cli profit GSL::gsl)
target_link_libraries(profit-cli profit)
if (MSVC)
target_include_directories(profit-cli PRIVATE ${PROFIT_GETOPT_DIR})
endif()
Expand Down

0 comments on commit b8ff5c0

Please sign in to comment.