Skip to content

Commit

Permalink
fix msvc flag
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 23, 2019
1 parent db6c783 commit 202aefb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ include(cmake/system.cmake)
include(cmake/glog.cmake)
include(cmake/common.cmake)

include(cmake/utils.cmake)
dnn_add_msvc_runtime_flag()

configure_glog()

if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
Expand All @@ -29,8 +32,6 @@ if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
add_subdirectory(dnnlibrary)
add_subdirectory(binaries)
else()
include(cmake/utils.cmake)
dnn_add_msvc_runtime_flag()
set (CMAKE_CXX_STANDARD 11)
if (MSVC)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS 1)
Expand Down

0 comments on commit 202aefb

Please sign in to comment.