Win32Configuration.cmake 476 B

123456789101112131415161718
  1. set(INSTALL_BIN_DIR .)
  2. set(INSTALL_RESOURCE_DIR resources)
  3. set(HAVE_UPDATER 1)
  4. if(${CMAKE_C_COMPILER_ID} STREQUAL MSVC)
  5. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Oy-")
  6. endif()
  7. if(${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
  8. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Oy-")
  9. endif()
  10. find_library(WINMM winmm)
  11. find_library(IMMLIB imm32)
  12. find_library(VERLIB version)
  13. find_library(DWMLIB dwmapi)
  14. find_library(AVRTLIB avrt)
  15. set(OS_LIBS ${WINMM} ${IMMLIB} ${VERLIB} ${DWMLIB} ${AVRTLIB})