diff --git a/include/discord-rpc.h b/include/discord-rpc.h index b58055b..bf775d6 100644 --- a/include/discord-rpc.h +++ b/include/discord-rpc.h @@ -3,10 +3,6 @@ #ifdef __cplusplus extern "C" { -#else - - - #endif typedef struct { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9fcbeb9..da94152 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,2 +1,2 @@ include_directories(${PROJECT_SOURCE_DIR}/include) -add_library(discord-rpc-sync STATIC discord-rpc-sync.cpp) +add_library(discord-rpc-sync STATIC ${PROJECT_SOURCE_DIR}/include/discord-rpc.h discord-rpc-sync.cpp)