Skip to content

Commit

Permalink
O2_DLL
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 24, 2021
1 parent c88eabc commit f2758f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/auth/oauth2/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ else()
endif() endif()
endif() endif()


if(WIN32)
add_definitions(-DO2_DLL_EXPORT)
endif()

if (WITH_GUI) if (WITH_GUI)
target_include_directories(authmethod_oauth2 PRIVATE target_include_directories(authmethod_oauth2 PRIVATE
${CMAKE_SOURCE_DIR}/src/auth/oauth2/gui ${CMAKE_SOURCE_DIR}/src/auth/oauth2/gui
Expand Down

0 comments on commit f2758f9

Please sign in to comment.