Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
https433 committed Feb 13, 2024
1 parent f1ec2f4 commit 552bb89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cmake_minimum_required(VERSION 3.10)
project(MyProgram)
project(IPC)

set(CMAKE_CXX_STANDARD 11)

# Add your source files
add_executable(my_program main.cpp)
add_executable(ipc_util main.cpp)

# Specify the path to libcurl
set(CURL_LIBRARY "lib/libcurl")
set(CURL_INCLUDE_DIR "include")

# Link against libcurl
target_include_directories(my_program PRIVATE "${CURL_INCLUDE_DIR}")
target_link_libraries(my_program PRIVATE "${CURL_LIBRARY}")
target_include_directories(IPC PRIVATE "${CURL_INCLUDE_DIR}")
target_link_libraries(IPC PRIVATE "${CURL_LIBRARY}")

0 comments on commit 552bb89

Please sign in to comment.