Skip to content

Commit

Permalink
Windows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcdorman committed Jul 5, 2013
1 parent 3e0ddcc commit d46db66
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -89,7 +89,7 @@ ELSEIF(UNIX)
ELSEIF(WIN32)
SET(COMPAT_SRCS ${COMPAT}/mingw.c)
SET(CMAKE_CXX_FLAGS "-Wl,--enable-auto-import")
ADD_EXECUTABLE(KISS WIN32 ${KISS_SRCS_CXX} ${COMPAT_SRCS} ${CMAKE_SOURCE_DIR}/rc/logos/kiss.rc)
ADD_EXECUTABLE(KISS WIN32 ${KISS_SRCS_CXX} ${COMPAT_SRCS})
ENDIF()

ADD_LIBRARY(kisside STATIC ${KISS_SRCS_CXX})
Expand Down
2 changes: 1 addition & 1 deletion rc/logos/kiss.rc
@@ -1 +1 @@
IDI_ICON1 ICON DISCARDABLE "rc\\logos\\windows_icon.ico"
IDI_ICON1 ICON DISCARDABLE "rc\\logos\\windows_icon.ico"
1 change: 1 addition & 0 deletions src/project/project.cpp
Expand Up @@ -59,6 +59,7 @@ const bool Kiss::Project::Project::compile() const
return false;
}
depProject->setSetting("TERMINAL_TYPE", "LIBRARY");
depProject->setSetting("LIBRARY_NAME", depProject->name());
depProject->setTarget(m_target);
depProject->compile();
}
Expand Down

0 comments on commit d46db66

Please sign in to comment.