diff Plugins/Samples/WebSkeleton/Framework/Framework.cmake @ 1390:92da9e1c2daa

improvement of samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2015 17:24:01 +0200
parents 3d76e26b3865
children b1291df2f780
line wrap: on
line diff
--- a/Plugins/Samples/WebSkeleton/Framework/Framework.cmake	Fri May 29 15:31:46 2015 +0200
+++ b/Plugins/Samples/WebSkeleton/Framework/Framework.cmake	Fri May 29 17:24:01 2015 +0200
@@ -16,16 +16,6 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 
-if (${CMAKE_COMPILER_IS_GNUCXX})
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Werror -Wno-unused-function")
-endif()
-
-if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
-  # Linking with "pthread" is necessary, otherwise the software might crash
-  # http://sourceware.org/bugzilla/show_bug.cgi?id=10652#c17
-  link_libraries(pthread dl)
-endif()
-
 if (STANDALONE_BUILD)
   add_definitions(-DORTHANC_PLUGIN_STANDALONE=1)
 
@@ -61,4 +51,4 @@
 
 list(APPEND AUTOGENERATED_SOURCES
   "${CMAKE_CURRENT_SOURCE_DIR}/Framework/Plugin.cpp"
-  )
\ No newline at end of file
+  )