Commit aae97d33 authored by jan.koester's avatar jan.koester
Browse files

some fixes

parent bf3a845d
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
include(GenerateExportHeader)

list(APPEND hldsviewsrc
    hldsview.cpp
)


add_library(gameinfoplus SHARED ${hldsviewsrc})

target_link_libraries(gameinfoplus netplus)

target_compile_options(gameinfoplus PUBLIC "-fPIC")

generate_export_header(gameinfoplus)

install(TARGETS gameinfoplus EXPORT gameinfoplusTargets
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib
@@ -19,8 +22,7 @@ install(TARGETS gameinfoplus EXPORT gameinfoplusTargets
install(FILES
    hldsview.h
    gameinfoplus.h
    "${CMAKE_BINARY_DIR}/config.h"
    "${CMAKE_CURRENT_BINARY_DIR}/httppp_export.h"
    "${CMAKE_CURRENT_BINARY_DIR}/gameinfoplus_export.h"
    DESTINATION include/gameinfoplus
    COMPONENT Devel
)