File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
GenerateCLP/Testing/Utf8Example Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ int main (int argc, char *argv[])
7474 rts.close ();
7575
7676#ifdef _WIN32
77-
7877 // Check current windows version before proceeding
7978 RTL_OSVERSIONINFOW rovi = GetRealOSVersion ();
8079 std::cout << " Windows version: " << rovi.dwMajorVersion << " ." << rovi.dwMinorVersion << " build " << rovi.dwBuildNumber << std::endl;
Original file line number Diff line number Diff line change @@ -181,11 +181,11 @@ endif()
181181target_link_libraries (${lib_name} ${libs} )
182182## target_link_libraries(${lib_name}-static ${link_libs})
183183set (USE_COMPILER_HIDDEN_VISIBILITY ON )
184- if (USE_COMPILER_HIDDEN_VISIBILITY)
185- # Prefer to use target properties supported by newer cmake
186- set_target_properties (${lib_name} PROPERTIES CXX_VISIBILITY_PRESET hidden)
187- set_target_properties (${lib_name} PROPERTIES C_VISIBILITY_PRESET hidden)
188- set_target_properties (${lib_name} PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
184+ if (USE_COMPILER_HIDDEN_VISIBILITY)
185+ # Prefer to use target properties supported by newer cmake
186+ set_target_properties (${lib_name} PROPERTIES CXX_VISIBILITY_PRESET hidden)
187+ set_target_properties (${lib_name} PROPERTIES C_VISIBILITY_PRESET hidden)
188+ set_target_properties (${lib_name} PROPERTIES VISIBILITY_INLINES_HIDDEN 1)
189189endif ()
190190
191191option (USE_COMPILER_HIDDEN_VISIBILITY "Use HIDDEN visibility support if available." ON )
You can’t perform that action at this time.
0 commit comments